]> git.sesse.net Git - ffmpeg/log
ffmpeg
11 years agolibswscale/swscale-test: fix some const correctness
Michael Niedermayer [Wed, 26 Dec 2012 02:14:59 +0000 (03:14 +0100)]
libswscale/swscale-test: fix some const correctness

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agovc1dsp: fix pointer type warnings
Michael Niedermayer [Wed, 26 Dec 2012 02:00:35 +0000 (03:00 +0100)]
vc1dsp: fix pointer type warnings

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavc/utils: fix 'warning: missing braces around initializer'
Michael Niedermayer [Wed, 26 Dec 2012 00:53:45 +0000 (01:53 +0100)]
lavc/utils: fix 'warning: missing braces around initializer'

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolcldec: fix zlib const pointer warning
Michael Niedermayer [Wed, 26 Dec 2012 00:37:38 +0000 (01:37 +0100)]
lcldec: fix zlib const pointer warning

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoimgconvert: fix 2 "discards const qualifier from pointer target type"
Michael Niedermayer [Wed, 26 Dec 2012 00:36:00 +0000 (01:36 +0100)]
imgconvert: fix 2 "discards const qualifier from pointer target type"

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoimgconvert: dont depend on default return type for get_color_type()
Michael Niedermayer [Wed, 26 Dec 2012 00:34:26 +0000 (01:34 +0100)]
imgconvert: dont depend on default return type for get_color_type()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoh264_direct: silence several warning: assignment from incompatible pointer type"
Michael Niedermayer [Wed, 26 Dec 2012 00:23:19 +0000 (01:23 +0100)]
h264_direct: silence several warning: assignment from incompatible pointer type"

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agormdec: fix compiler warning for uninitialized variables
Jean First [Sat, 31 Dec 2011 13:15:35 +0000 (14:15 +0100)]
rmdec: fix compiler warning for uninitialized variables

Signed-off-by: Jean First <jeanfirst@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agompegts: update AVProgram after pmt change
XBMC [Sun, 16 Dec 2012 08:53:18 +0000 (09:53 +0100)]
mpegts: update AVProgram after pmt change

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agomxfdec: Rescale audio stream duration from EditRate to SampleRate
Tomas Härdin [Fri, 14 Dec 2012 14:39:16 +0000 (15:39 +0100)]
mxfdec: Rescale audio stream duration from EditRate to SampleRate

Since 83cab07 audio stream time bases are based on SampleRate, not EditRate.
This fixes trac ticket #2029 and a few seeking issues.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoffmpeg: use the new swr -async parameter instead of a set of parameters.
Michael Niedermayer [Sat, 22 Dec 2012 22:54:25 +0000 (23:54 +0100)]
ffmpeg: use the new swr -async parameter instead of a set of parameters.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoswr: support -async X as a simple way to do what ffmpeg -async X did
Michael Niedermayer [Sat, 22 Dec 2012 22:53:45 +0000 (23:53 +0100)]
swr: support -async X as a simple way to do what ffmpeg -async X did

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge remote-tracking branch 'cus/stable'
Michael Niedermayer [Tue, 25 Dec 2012 15:36:49 +0000 (16:36 +0100)]
Merge remote-tracking branch 'cus/stable'

* cus/stable:
  ffplay: fix greenish line on the right edge with some xv sizes

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agovf_pp: add postproc to the library dependencys for avfilter when enabled.
Hendrik Leppkes [Tue, 25 Dec 2012 13:45:00 +0000 (14:45 +0100)]
vf_pp: add postproc to the library dependencys for avfilter when enabled.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoffplay: fix greenish line on the right edge with some xv sizes
Marton Balint [Thu, 6 Dec 2012 23:44:17 +0000 (00:44 +0100)]
ffplay: fix greenish line on the right edge with some xv sizes

If the XV image linesize was different from the width, SDL would create an
overlay wider than the actually requested one. This causes a greenish line on
the right, because the rightmost texel is blended with unset data.  This patch
introduces a function which duplicates the rightmost texel to the unset space,
that way the blending will be done with duplicated border texels.

Signed-off-by: Marton Balint <cus@passwd.hu>
11 years agosrt_probe: make buffer pointer const
Michael Niedermayer [Tue, 25 Dec 2012 01:57:48 +0000 (02:57 +0100)]
srt_probe: make buffer pointer const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agodsputil_mmx: fix pointer type for emulated_edge_mc_func()
Michael Niedermayer [Tue, 25 Dec 2012 01:04:31 +0000 (02:04 +0100)]
dsputil_mmx: fix pointer type for emulated_edge_mc_func()

Found-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agostr_probe: make buffer related pointers const
Michael Niedermayer [Tue, 25 Dec 2012 00:55:22 +0000 (01:55 +0100)]
str_probe: make buffer related pointers const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agopva_probe: make buffer related pointers and function arguments const
Michael Niedermayer [Tue, 25 Dec 2012 00:54:41 +0000 (01:54 +0100)]
pva_probe: make buffer related pointers and function arguments const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agomxf_probe: make buffer related pointers const
Michael Niedermayer [Tue, 25 Dec 2012 00:54:20 +0000 (01:54 +0100)]
mxf_probe: make buffer related pointers const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agompc8_probe: make buffer related pointers and function arguments const
Michael Niedermayer [Tue, 25 Dec 2012 00:51:59 +0000 (01:51 +0100)]
mpc8_probe: make buffer related pointers and function arguments const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agomp3_read_probe: make buffer related pointers const
Michael Niedermayer [Tue, 25 Dec 2012 00:51:32 +0000 (01:51 +0100)]
mp3_read_probe: make buffer related pointers const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agomicrodvd_probe: make buffer pointers const
Michael Niedermayer [Tue, 25 Dec 2012 00:50:58 +0000 (01:50 +0100)]
microdvd_probe: make buffer pointers const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agompegps_probe: make buffer related pointers const
Michael Niedermayer [Tue, 25 Dec 2012 00:50:14 +0000 (01:50 +0100)]
mpegps_probe: make buffer related pointers const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoloas_probe: make buffer pointers const
Michael Niedermayer [Tue, 25 Dec 2012 00:45:56 +0000 (01:45 +0100)]
loas_probe: make buffer pointers const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolmlm4_probe: make buffer pointers const
Michael Niedermayer [Tue, 25 Dec 2012 00:45:21 +0000 (01:45 +0100)]
lmlm4_probe: make buffer pointers const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoipmovie_probe: make buffer pointers const
Michael Niedermayer [Tue, 25 Dec 2012 00:44:59 +0000 (01:44 +0100)]
ipmovie_probe: make buffer pointers const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoflac_probe: make buffer pointers const
Michael Niedermayer [Tue, 25 Dec 2012 00:43:14 +0000 (01:43 +0100)]
flac_probe: make buffer pointers const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoac3_eac3_probe: mark buffer pointers const
Michael Niedermayer [Tue, 25 Dec 2012 00:42:23 +0000 (01:42 +0100)]
ac3_eac3_probe: mark buffer pointers const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoadts_aac_probe: mark buffer pointers as const
Michael Niedermayer [Tue, 25 Dec 2012 00:41:00 +0000 (01:41 +0100)]
adts_aac_probe: mark buffer pointers as const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agooggdec: fix warning: assignment discards qualifiers from pointer target type
Michael Niedermayer [Mon, 24 Dec 2012 21:37:24 +0000 (22:37 +0100)]
oggdec: fix warning: assignment discards qualifiers from pointer target type

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavfiltergraph: put variables used in #if 0 code themselfs under #if 0
Michael Niedermayer [Mon, 24 Dec 2012 21:35:27 +0000 (22:35 +0100)]
avfiltergraph: put variables used in #if 0 code themselfs under #if 0

Fixes unused variable warnings

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agomcdec: suppress "warning: a/vst may be used uninitialized in this function"
Michael Niedermayer [Mon, 24 Dec 2012 17:21:46 +0000 (18:21 +0100)]
mcdec: suppress "warning: a/vst may be used uninitialized in this function"

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavf/mpeg: suppress warning: lpcm_header_len may be used uninitialized in this function
Michael Niedermayer [Mon, 24 Dec 2012 17:18:03 +0000 (18:18 +0100)]
lavf/mpeg: suppress warning: lpcm_header_len may be used uninitialized in this function

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Mon, 24 Dec 2012 15:13:06 +0000 (16:13 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  wnv1: cosmetics, reformat
  xan: remove a trivially true if().
  ansi: do not depend on get_buffer() initializing the frame.
  zerocodec: remove an unused variable.
  zmbv: remove some pointless comments and empty lines

Conflicts:
libavcodec/xan.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'c6303f8d70c25dd6c6e6486c78bf99c9924e2b6b'
Michael Niedermayer [Mon, 24 Dec 2012 14:42:52 +0000 (15:42 +0100)]
Merge commit 'c6303f8d70c25dd6c6e6486c78bf99c9924e2b6b'

* commit 'c6303f8d70c25dd6c6e6486c78bf99c9924e2b6b':
  yop: simplify/sanitize the decoding loop
  c93: set palette_has_changed.
  bmp: cosmetics, reformat
  hlsenc: Don't duplicate a string constant

Conflicts:
libavcodec/bmp.c
tests/ref/fate/yop

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '3193b13aa1e271f6d2dd68de67d448c08aef3c00'
Michael Niedermayer [Mon, 24 Dec 2012 14:29:15 +0000 (15:29 +0100)]
Merge commit '3193b13aa1e271f6d2dd68de67d448c08aef3c00'

* commit '3193b13aa1e271f6d2dd68de67d448c08aef3c00':
  hlsenc: Allocate enough space for the pattern string
  lavc: Correct the description of pkt_dts
  avfilter: Compile FIFO filters unconditionally

Conflicts:
libavcodec/avcodec.h
libavfilter/Makefile
libavfilter/allfilters.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'f3298f12997eb4b7ad203766f768f92e3dd72a2a'
Michael Niedermayer [Mon, 24 Dec 2012 14:09:58 +0000 (15:09 +0100)]
Merge commit 'f3298f12997eb4b7ad203766f768f92e3dd72a2a'

* commit 'f3298f12997eb4b7ad203766f768f92e3dd72a2a':
  Return proper error code after av_log_ask_for_sample()
  configure: cosmetics: Separate hwaccel dependencies from decoders/encoders
  oggdec: check memory allocation

Conflicts:
configure
libavcodec/pictordec.c
libavformat/anm.c
libavformat/oggdec.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'f5f1cf52240759208b42477e2157a7b4409ade10'
Michael Niedermayer [Mon, 24 Dec 2012 13:43:03 +0000 (14:43 +0100)]
Merge commit 'f5f1cf52240759208b42477e2157a7b4409ade10'

* commit 'f5f1cf52240759208b42477e2157a7b4409ade10':
  oggdec: K&R cosmetic formatting
  hlsenc: correctly report target duration

Conflicts:
libavformat/oggdec.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agownv1: cosmetics, reformat
Anton Khirnov [Fri, 16 Nov 2012 17:42:16 +0000 (18:42 +0100)]
wnv1: cosmetics, reformat

11 years agoxan: remove a trivially true if().
Anton Khirnov [Fri, 16 Nov 2012 05:40:14 +0000 (06:40 +0100)]
xan: remove a trivially true if().

This function used to be shared with the xxan decoder, but that is not
true anymore.

11 years agoansi: do not depend on get_buffer() initializing the frame.
Anton Khirnov [Thu, 15 Nov 2012 13:24:51 +0000 (14:24 +0100)]
ansi: do not depend on get_buffer() initializing the frame.

The background changes from 128 (used by the default/cmdutils
get_buffer()) to 0. This looks more correct.

11 years agozerocodec: remove an unused variable.
Anton Khirnov [Thu, 15 Nov 2012 19:42:22 +0000 (20:42 +0100)]
zerocodec: remove an unused variable.

11 years agozmbv: remove some pointless comments and empty lines
Anton Khirnov [Thu, 15 Nov 2012 17:24:29 +0000 (18:24 +0100)]
zmbv: remove some pointless comments and empty lines

11 years agoyop: simplify/sanitize the decoding loop
Anton Khirnov [Thu, 15 Nov 2012 21:03:00 +0000 (22:03 +0100)]
yop: simplify/sanitize the decoding loop

Do not overwrite linesize set by get_buffer().

The last frame in the FATE test is not decoded anymore, since the file
is cut and a part of it is missing.

11 years agoc93: set palette_has_changed.
Anton Khirnov [Thu, 15 Nov 2012 09:38:38 +0000 (10:38 +0100)]
c93: set palette_has_changed.

11 years agobmp: cosmetics, reformat
Anton Khirnov [Thu, 15 Nov 2012 08:23:55 +0000 (09:23 +0100)]
bmp: cosmetics, reformat

11 years agotiffdec: Fix runend handling
Michael Niedermayer [Mon, 24 Dec 2012 03:35:12 +0000 (04:35 +0100)]
tiffdec: Fix runend handling

Fixes Ticket1999

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agorl2: return EOF on EOF
Michael Niedermayer [Mon, 24 Dec 2012 01:51:51 +0000 (02:51 +0100)]
rl2: return EOF on EOF

Fixes Ticket1947

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoChangelog: reword H264-MT entry
Michael Niedermayer [Mon, 24 Dec 2012 00:45:20 +0000 (01:45 +0100)]
Changelog: reword H264-MT entry

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agodoc/filters: remove outdated comments
Stefano Sabatini [Mon, 24 Dec 2012 00:15:22 +0000 (01:15 +0100)]
doc/filters: remove outdated comments

Audio API should not be considered unstable any longer, and mentioning
VHOOK is confusing, as it was removed 4 years ago.

11 years agolavc/pthread: do not re-define _GNU_SOURCE if already defined.
Clément Bœsch [Sun, 23 Dec 2012 21:50:44 +0000 (22:50 +0100)]
lavc/pthread: do not re-define _GNU_SOURCE if already defined.

This fixes the following warning with GCC:
    libavcodec/pthread.c:35:0: warning: _GNU_SOURCE redefined [enabled by default]
    <command-line>::0: note: this is the location of the previous definition

The reason of the presence of this flag is:
    % pkg-config --cflags sdl
    -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL

11 years agodoc: stop generating syntax.html.
Clément Bœsch [Sun, 23 Dec 2012 20:29:00 +0000 (21:29 +0100)]
doc: stop generating syntax.html.

Just like doc/eval.texi, this file is meant to be included from
ffmpeg-utils.texi, and not to be used as a standalone documentation.

11 years agohlsenc: Don't duplicate a string constant
Martin Storsjö [Sun, 23 Dec 2012 19:34:06 +0000 (21:34 +0200)]
hlsenc: Don't duplicate a string constant

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agohlsenc: Allocate enough space for the pattern string
Stefano Sabatini [Thu, 20 Dec 2012 23:27:00 +0000 (00:27 +0100)]
hlsenc: Allocate enough space for the pattern string

If s->filename doesn't contain any period/filename extension to strip
away, the buffer will be too small to fit both strings. This isn't
any buffer overflow since the concatenation uses av_strlcat with
the right buffer size.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoNIST SPHERE demuxer
Paul B Mahol [Tue, 18 Dec 2012 20:38:49 +0000 (20:38 +0000)]
NIST SPHERE demuxer

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoalsdec: improve warning message when invalid channel position is found
Paul B Mahol [Sat, 22 Dec 2012 12:01:57 +0000 (12:01 +0000)]
alsdec: improve warning message when invalid channel position is found

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agodoc/ffserver: fix a few typo.
Clément Bœsch [Sun, 23 Dec 2012 19:25:28 +0000 (20:25 +0100)]
doc/ffserver: fix a few typo.

11 years agolavc: Correct the description of pkt_dts
Martin Storsjö [Sun, 23 Dec 2012 15:10:04 +0000 (17:10 +0200)]
lavc: Correct the description of pkt_dts

The description as updated in 6e5c44b0f made it sound like it is
handled exactly like the pts, which it is not. Clarify that it
is the packet that triggered returning the frame instead of just
the last avpacket (in case of frame threading, it won't be the
dts of the last packet).

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agodocs: add aresample/async example
Michael Niedermayer [Sat, 22 Dec 2012 23:06:37 +0000 (00:06 +0100)]
docs: add aresample/async example

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agox86/ac3dsp_init: try to workaround ICC failure.
Michael Niedermayer [Thu, 20 Dec 2012 16:09:09 +0000 (17:09 +0100)]
x86/ac3dsp_init: try to workaround ICC failure.

The asm code is not valid for older compilers as it uses too many
operands, ICC on x86_32 seems affected by this.
This patch disables the affected code for ICC on x86_32 and should
make it compileable again.
A better fix would be to use fewer operands or to change this code
to yasm, later is being worked on AFAIK so this is a temporary
solution.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavfi: remove mp=pp filter.
Clément Bœsch [Fri, 21 Dec 2012 21:13:25 +0000 (22:13 +0100)]
lavfi: remove mp=pp filter.

Native pp filter is available.

postproc dependency is also dropped from mp wrapper since it was the
only filter needing that dependency.

11 years agolavfi: add pp filter.
Clément Bœsch [Thu, 22 Nov 2012 17:19:12 +0000 (18:19 +0100)]
lavfi: add pp filter.

Ported from MPlayer. Original author is A'rpi, with various
contributions from Michael Niedermayer. The original documentation was
mostly written by Diego Biurrun. See the MPlayer history for full
credits.

The filter is under GPL like the original filter, even if it differs
quite a lot. There is not much point in making it LGPL since pp is under
GPL.

11 years agofate/mp=pp: remove dering subfilter test.
Clément Bœsch [Fri, 21 Dec 2012 21:05:34 +0000 (22:05 +0100)]
fate/mp=pp: remove dering subfilter test.

This subfilter gives a different output when linesize and width are
differents.

11 years agofate/mp=pp: expand subfilters with dr (dering) in them.
Clément Bœsch [Fri, 21 Dec 2012 21:03:40 +0000 (22:03 +0100)]
fate/mp=pp: expand subfilters with dr (dering) in them.

Commands are equivalent at this point.

11 years agoavfilter: Compile FIFO filters unconditionally
Diego Biurrun [Tue, 18 Dec 2012 14:04:48 +0000 (15:04 +0100)]
avfilter: Compile FIFO filters unconditionally

Building libavfilter without that functionality makes little sense.

11 years agoReturn proper error code after av_log_ask_for_sample()
Diego Biurrun [Sun, 23 Dec 2012 17:10:05 +0000 (18:10 +0100)]
Return proper error code after av_log_ask_for_sample()

11 years agoconfigure: cosmetics: Separate hwaccel dependencies from decoders/encoders
Diego Biurrun [Thu, 20 Dec 2012 21:40:39 +0000 (22:40 +0100)]
configure: cosmetics: Separate hwaccel dependencies from decoders/encoders

Also move mpegvideo_select statement to the correct position.

11 years agodoc/ffmpeg-resampler: mention that the options also work with the aresample filter
Michael Niedermayer [Sun, 23 Dec 2012 17:31:33 +0000 (18:31 +0100)]
doc/ffmpeg-resampler: mention that the options also work with the aresample filter

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agormenc: write correct bytes per minute
Piotr Bandurski [Sun, 23 Dec 2012 14:28:51 +0000 (15:28 +0100)]
rmenc: write correct bytes per minute

improves playback of ac3 in RealPlayer

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agormdec: set bit rate for ra3
Piotr Bandurski [Sun, 23 Dec 2012 12:39:06 +0000 (13:39 +0100)]
rmdec: set bit rate for ra3

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sun, 23 Dec 2012 14:03:15 +0000 (15:03 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  8bps: cosmetics
  aasc: cosmetics, reformat
  ansi: remove an extra return
  asvdec: cosmetics, reformat
  aura: cosmetics, reformat

Conflicts:
libavcodec/aasc.c
libavcodec/asvdec.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'b047c68783aa4042b322af7af043b643d5daf09c'
Michael Niedermayer [Sun, 23 Dec 2012 13:36:47 +0000 (14:36 +0100)]
Merge commit 'b047c68783aa4042b322af7af043b643d5daf09c'

* commit 'b047c68783aa4042b322af7af043b643d5daf09c':
  4xm: don't rely on get_buffer() initializing the frame.
  huffyuv: split encoder and decoder into separate files.
  lavc: make pkt_{p,d}ts doxy less confusing

Conflicts:
libavcodec/Makefile
libavcodec/huffyuv.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '418693bdc5edad72b0d055f741931612d797eb05'
Michael Niedermayer [Sun, 23 Dec 2012 12:28:01 +0000 (13:28 +0100)]
Merge commit '418693bdc5edad72b0d055f741931612d797eb05'

* commit '418693bdc5edad72b0d055f741931612d797eb05':
  lavc: rewrite and extend AVFrame doxy
  opt: avoid segfault in av_opt_next() if the class does not have an option list
  ttadec: fix last frame handling when seeking
  alacdec: do not be too strict about the extradata size

Conflicts:
libavcodec/alac.c
libavcodec/avcodec.h
libavcodec/tta.c
libavutil/opt.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agooggdec: check memory allocation
Luca Barbato [Sat, 22 Dec 2012 16:58:24 +0000 (17:58 +0100)]
oggdec: check memory allocation

11 years agooggdec: K&R cosmetic formatting
Luca Barbato [Fri, 21 Dec 2012 18:12:41 +0000 (19:12 +0100)]
oggdec: K&R cosmetic formatting

11 years agohlsenc: correctly report target duration
Luca Barbato [Fri, 21 Dec 2012 11:05:46 +0000 (12:05 +0100)]
hlsenc: correctly report target duration

11 years ago8bps: cosmetics
Anton Khirnov [Wed, 14 Nov 2012 07:56:04 +0000 (08:56 +0100)]
8bps: cosmetics

Remove some pointless comments and empty lines.

11 years ago4xm: don't rely on get_buffer() initializing the frame.
Anton Khirnov [Tue, 13 Nov 2012 21:10:54 +0000 (22:10 +0100)]
4xm: don't rely on get_buffer() initializing the frame.

11 years agoaasc: cosmetics, reformat
Anton Khirnov [Wed, 14 Nov 2012 08:09:43 +0000 (09:09 +0100)]
aasc: cosmetics, reformat

11 years agoansi: remove an extra return
Anton Khirnov [Wed, 14 Nov 2012 13:28:36 +0000 (14:28 +0100)]
ansi: remove an extra return

11 years agoasvdec: cosmetics, reformat
Anton Khirnov [Wed, 14 Nov 2012 13:49:44 +0000 (14:49 +0100)]
asvdec: cosmetics, reformat

11 years agoaura: cosmetics, reformat
Anton Khirnov [Wed, 14 Nov 2012 14:10:24 +0000 (15:10 +0100)]
aura: cosmetics, reformat

11 years agohuffyuv: split encoder and decoder into separate files.
Anton Khirnov [Thu, 6 Dec 2012 13:06:46 +0000 (14:06 +0100)]
huffyuv: split encoder and decoder into separate files.

11 years agolavc: make pkt_{p,d}ts doxy less confusing
Anton Khirnov [Fri, 21 Dec 2012 20:52:34 +0000 (21:52 +0100)]
lavc: make pkt_{p,d}ts doxy less confusing

11 years agolavc: rewrite and extend AVFrame doxy
Anton Khirnov [Fri, 21 Dec 2012 20:50:50 +0000 (21:50 +0100)]
lavc: rewrite and extend AVFrame doxy

11 years agolibpostproc: fix leak of 2kb
Michael Niedermayer [Sun, 23 Dec 2012 03:48:36 +0000 (04:48 +0100)]
libpostproc: fix leak of 2kb

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agompegvideo_enc: fix edge emulation of dimension%16 != 0 for YUV != 420
Michael Niedermayer [Sun, 23 Dec 2012 03:13:17 +0000 (04:13 +0100)]
mpegvideo_enc: fix edge emulation of dimension%16 != 0 for YUV != 420

Fixes Ticket2041

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavf/y4m: spellcheck
James Darnley [Sat, 22 Dec 2012 12:53:34 +0000 (13:53 +0100)]
lavf/y4m: spellcheck

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agormdec: set bit rate for ra4
Piotr Bandurski [Sat, 22 Dec 2012 13:41:12 +0000 (14:41 +0100)]
rmdec: set bit rate for ra4

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agodocs: point to aresample from asyncts docs
Michael Niedermayer [Tue, 18 Dec 2012 00:25:10 +0000 (01:25 +0100)]
docs: point to aresample from asyncts docs

"Fixes" Ticket2036

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavf/hlsenc: reuse pattern string, rather than redefining it
Stefano Sabatini [Thu, 20 Dec 2012 23:28:46 +0000 (00:28 +0100)]
lavf/hlsenc: reuse pattern string, rather than redefining it

Improve robustness.

11 years agolavf/hlsenc: fix basename size computation off-by-one bug
Stefano Sabatini [Thu, 20 Dec 2012 23:27:00 +0000 (00:27 +0100)]
lavf/hlsenc: fix basename size computation off-by-one bug

11 years agoopt: avoid segfault in av_opt_next() if the class does not have an option list
Justin Ruggles [Thu, 8 Nov 2012 23:35:49 +0000 (18:35 -0500)]
opt: avoid segfault in av_opt_next() if the class does not have an option list

CC: libav-stable@libav.org
11 years agottadec: fix last frame handling when seeking
Justin Ruggles [Fri, 10 Feb 2012 22:51:11 +0000 (17:51 -0500)]
ttadec: fix last frame handling when seeking

Using a frame count, as is done currently, does not work at all with
seeking. Instead, when the number of samples in the final frame has
been decoded, we check if only the 32-bit CRC is remaining. If so, we
assume that it is the final frame.

There is no longer a need to keep total_frames in TTAContext.

11 years agoconfigure: consider using /usr/include/openjpeg-1.5 when searching for openjpeg
Johannes Nixdorf [Sun, 16 Dec 2012 15:02:08 +0000 (16:02 +0100)]
configure: consider using /usr/include/openjpeg-1.5 when searching for openjpeg

Beginning with version 1.5.1 openjpeg defaults to install its headers to
/usr/include/openjpeg-${major}.${minor} instead of /usr/include without
providing a compatibility symlink making the old test fail.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoh264: Detect POC inconsistencies and try to handle them reasonably
Michael Niedermayer [Sat, 22 Dec 2012 17:02:48 +0000 (18:02 +0100)]
h264: Detect POC inconsistencies and try to handle them reasonably

Improves the file from Ticket2050

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoalacdec: do not be too strict about the extradata size
Justin Ruggles [Sat, 22 Dec 2012 06:21:09 +0000 (01:21 -0500)]
alacdec: do not be too strict about the extradata size

Sometimes the extradata has duplicate atoms, but that shouldn't prevent
decoding. Just ensure that it is at least 36 bytes as a sanity check.

CC: libav-stable@libav.org
11 years agoChangelog: add entry about the new documentation layout design
Stefano Sabatini [Fri, 21 Dec 2012 00:08:24 +0000 (01:08 +0100)]
Changelog: add entry about the new documentation layout design

11 years agodoc/filters: reword introduction sentence of aformat.
Clément Bœsch [Sat, 22 Dec 2012 14:40:03 +0000 (15:40 +0100)]
doc/filters: reword introduction sentence of aformat.