]> git.sesse.net Git - ffmpeg/log
ffmpeg
9 years agoMerge commit '1f80742f49a9a4e846c9f099387881abc87150b2'
Michael Niedermayer [Fri, 21 Nov 2014 22:45:26 +0000 (23:45 +0100)]
Merge commit '1f80742f49a9a4e846c9f099387881abc87150b2'

* commit '1f80742f49a9a4e846c9f099387881abc87150b2':
  qdm2: avoid integer overflow

See: ccfd8cffe867d534447dbc5beb96ff39e65e2791
Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '312daa15891dc7abb77a404fe927d5ee35c52a71'
Michael Niedermayer [Fri, 21 Nov 2014 22:18:30 +0000 (23:18 +0100)]
Merge commit '312daa15891dc7abb77a404fe927d5ee35c52a71'

* commit '312daa15891dc7abb77a404fe927d5ee35c52a71':
  vp9: Use the correct upper bound for seg_id

Conflicts:
libavcodec/vp9.h
libavcodec/vp9block.c

Not merged, the value was correct before as far as i can see

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit 'd466d82faaf6e0e57a3a4be5e38e3902ef251ac3'
Michael Niedermayer [Fri, 21 Nov 2014 21:33:23 +0000 (22:33 +0100)]
Merge commit 'd466d82faaf6e0e57a3a4be5e38e3902ef251ac3'

* commit 'd466d82faaf6e0e57a3a4be5e38e3902ef251ac3':
  dvdsubdec: Do not leak on failure path

Conflicts:
libavcodec/dvdsubdec.c

See: 7fa9f7ef1c2f0cee81ec6ea6a4ff10af4c4fc62c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit 'a42d5c861fea8d18d997c6ba3f4a1d8aa95a288b'
Michael Niedermayer [Fri, 21 Nov 2014 21:25:09 +0000 (22:25 +0100)]
Merge commit 'a42d5c861fea8d18d997c6ba3f4a1d8aa95a288b'

* commit 'a42d5c861fea8d18d997c6ba3f4a1d8aa95a288b':
  libtwolame: prevent a NULL pointer dereference

See: a586b3d9b1df9099c18d3e15c9b261f6612ad2ac
Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavfilter/formats: Alloc NULL fmts in SET_COMMON_FORMATS()
Michael Niedermayer [Fri, 21 Nov 2014 21:15:32 +0000 (22:15 +0100)]
avfilter/formats: Alloc NULL fmts in SET_COMMON_FORMATS()

This avoids null pointer dereferences in case memory allocation has failed

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavfilter/formats: free the correct pointer in ADD_FORMAT()
Michael Niedermayer [Fri, 21 Nov 2014 21:13:44 +0000 (22:13 +0100)]
avfilter/formats: free the correct pointer in ADD_FORMAT()

Also only free it when it was not previously allocated to return to the
state prior to the failing function call

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '863ee8a855b8ce27ffef41479eb66da58763faed'
Michael Niedermayer [Fri, 21 Nov 2014 20:39:26 +0000 (21:39 +0100)]
Merge commit '863ee8a855b8ce27ffef41479eb66da58763faed'

* commit '863ee8a855b8ce27ffef41479eb66da58763faed':
  lavfi: clean memory on error in ADD_FORMAT()

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit 'fd9badd3cb3b60f5c54dcea35523e1ecca2f67a6'
Michael Niedermayer [Fri, 21 Nov 2014 20:30:01 +0000 (21:30 +0100)]
Merge commit 'fd9badd3cb3b60f5c54dcea35523e1ecca2f67a6'

* commit 'fd9badd3cb3b60f5c54dcea35523e1ecca2f67a6':
  xwma: Do not leak on failure path

Conflicts:
libavformat/xwma.c

See: 375a0c03a9a401a328a94b3d9f5338ab1524f7ef
Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit 'aa8b39d999589154f79300de9038994d0093cd34'
Michael Niedermayer [Fri, 21 Nov 2014 20:02:17 +0000 (21:02 +0100)]
Merge commit 'aa8b39d999589154f79300de9038994d0093cd34'

* commit 'aa8b39d999589154f79300de9038994d0093cd34':
  lavc: Move the libtwolame encoder registration to the list for external libraries

Conflicts:
libavcodec/allcodecs.c

See: f5f98727b361c62d3962cef37a100db95d62b702
Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoChangelog: add zygoaudio
Michael Niedermayer [Fri, 21 Nov 2014 19:21:56 +0000 (20:21 +0100)]
Changelog: add zygoaudio

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/libspeexdec: more verbose error message
Michael Niedermayer [Fri, 21 Nov 2014 19:08:56 +0000 (20:08 +0100)]
avcodec/libspeexdec: more verbose error message

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/libspeexdec: support zygoaudio
Michael Niedermayer [Fri, 21 Nov 2014 19:08:05 +0000 (20:08 +0100)]
avcodec/libspeexdec: support zygoaudio

Fixes Ticket1873

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/vp6: Use av_freep(), avoid leaving stale pointers
Michael Niedermayer [Fri, 21 Nov 2014 17:02:01 +0000 (18:02 +0100)]
avcodec/vp6: Use av_freep(), avoid leaving stale pointers

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavdevice/avdevice.c: Use av_freep(), avoid leaving stale pointers
Michael Niedermayer [Fri, 21 Nov 2014 17:02:01 +0000 (18:02 +0100)]
avdevice/avdevice.c: Use av_freep(), avoid leaving stale pointers

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavdevice/fbdev_common: Use av_freep(), avoid leaving stale pointers
Michael Niedermayer [Fri, 21 Nov 2014 17:02:01 +0000 (18:02 +0100)]
avdevice/fbdev_common: Use av_freep(), avoid leaving stale pointers

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavdevice/pulse_audio_common: Use av_freep(), avoid leaving stale pointers
Michael Niedermayer [Fri, 21 Nov 2014 17:02:01 +0000 (18:02 +0100)]
avdevice/pulse_audio_common: Use av_freep(), avoid leaving stale pointers

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/apngdec: add APNG demuxer.
Benoit Fouet [Thu, 20 Nov 2014 14:07:18 +0000 (15:07 +0100)]
avformat/apngdec: add APNG demuxer.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/pngdec: add APNG support.
Benoit Fouet [Fri, 21 Nov 2014 11:05:47 +0000 (12:05 +0100)]
avcodec/pngdec: add APNG support.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat: replace some odd 30-60 rates by higher less odd ones in get_std_framerate()
Michael Niedermayer [Fri, 21 Nov 2014 11:37:59 +0000 (12:37 +0100)]
avformat: replace some odd 30-60 rates by higher less odd ones in  get_std_framerate()

Fixes Ticket4012

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoqdm2: avoid integer overflow
Vittorio Giovara [Wed, 12 Nov 2014 18:10:44 +0000 (19:10 +0100)]
qdm2: avoid integer overflow

CC: libav-stable@libav.org
Bug-Id: CID 700555

9 years agovp9: Use the correct upper bound for seg_id
Luca Barbato [Tue, 11 Nov 2014 12:27:01 +0000 (13:27 +0100)]
vp9: Use the correct upper bound for seg_id

And use a macro to make apparent why the value.

Bug-Id: CID 1108595

9 years agodvdsubdec: Do not leak on failure path
Luca Barbato [Sun, 9 Nov 2014 07:48:47 +0000 (08:48 +0100)]
dvdsubdec: Do not leak on failure path

CC: libav-stable@libav.org
Bug-Id: CID 1198262

9 years agolibtwolame: prevent a NULL pointer dereference
Vittorio Giovara [Fri, 21 Nov 2014 11:56:59 +0000 (11:56 +0000)]
libtwolame: prevent a NULL pointer dereference

CC: libav-stable@libav.org
Bug-Id: CID 1250330 / CID 1250335

9 years agolavfi: clean memory on error in ADD_FORMAT()
Vittorio Giovara [Sun, 16 Nov 2014 23:22:20 +0000 (00:22 +0100)]
lavfi: clean memory on error in ADD_FORMAT()

CC: libav-stable@libav.org
Bug-Id: CID 1250334

9 years agoxwma: Do not leak on failure path
Luca Barbato [Sun, 16 Nov 2014 23:22:21 +0000 (00:22 +0100)]
xwma: Do not leak on failure path

CC: libav-stable@libav.org
Bug-Id: CID 1087092

9 years agolavc: Move the libtwolame encoder registration to the list for external libraries
Martin Storsjö [Fri, 21 Nov 2014 12:23:02 +0000 (14:23 +0200)]
lavc: Move the libtwolame encoder registration to the list for external libraries

This makes sure the default behaviour of using the internal encoder
stays the same regardless if libtwolame is enabled or not (as for
any external library).

This fixes fate-lavf-mpg if libav is built with libtwolame enabled.

CC: libav-stable@libav.org
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years agoavformat/avidec: fix handling dv in avi
Michael Niedermayer [Fri, 21 Nov 2014 02:08:20 +0000 (03:08 +0100)]
avformat/avidec: fix handling dv in avi

Fixes Ticket4086

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agolavu/dict: add av_dict_get_string
Lukasz Marek [Sun, 16 Nov 2014 00:45:07 +0000 (01:45 +0100)]
lavu/dict: add av_dict_get_string

Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
9 years agolavc/options: fix rc_eq leak
Lukasz Marek [Thu, 20 Nov 2014 23:17:46 +0000 (00:17 +0100)]
lavc/options: fix rc_eq leak

rc_eq is an option, so it is copied by av_opt_copy(dest, src); above.

9 years agoavcodec/imc: Use avpriv_float_dsp_alloc()
Michael Niedermayer [Thu, 20 Nov 2014 21:46:26 +0000 (22:46 +0100)]
avcodec/imc: Use avpriv_float_dsp_alloc()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/dcadec: Use avpriv_float_dsp_alloc()
Michael Niedermayer [Thu, 20 Nov 2014 21:46:08 +0000 (22:46 +0100)]
avcodec/dcadec: Use avpriv_float_dsp_alloc()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/atrac1: Use avpriv_float_dsp_alloc()
Michael Niedermayer [Thu, 20 Nov 2014 21:22:06 +0000 (22:22 +0100)]
avcodec/atrac1: Use avpriv_float_dsp_alloc()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/ac3dec: Use avpriv_float_dsp_alloc()
Michael Niedermayer [Thu, 20 Nov 2014 21:21:51 +0000 (22:21 +0100)]
avcodec/ac3dec: Use avpriv_float_dsp_alloc()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoconfigure: disable strip when using icl.
Matthew Oliver [Thu, 20 Nov 2014 18:55:48 +0000 (05:55 +1100)]
configure: disable strip when using icl.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/mpeg12dec: forward error codes
Michael Niedermayer [Thu, 20 Nov 2014 15:31:27 +0000 (16:31 +0100)]
avcodec/mpeg12dec: forward error codes

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/mpeg12dec: Use more specific error codes
Michael Niedermayer [Thu, 20 Nov 2014 15:25:33 +0000 (16:25 +0100)]
avcodec/mpeg12dec: Use more specific error codes

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/mpeg12dec: do not fail on invalid frame_rate_index
Michael Niedermayer [Thu, 20 Nov 2014 14:09:42 +0000 (15:09 +0100)]
avcodec/mpeg12dec: do not fail on invalid frame_rate_index

Fixes Ticket4073

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/mpeg12dec: Print error/warning messages on issues in mpeg1_decode_sequence()
Michael Niedermayer [Thu, 20 Nov 2014 14:08:18 +0000 (15:08 +0100)]
avcodec/mpeg12dec: Print error/warning messages on issues in mpeg1_decode_sequence()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoconfigure: Prevent icl being incorrectly detected as msvc.
Matthew Oliver [Thu, 20 Nov 2014 07:34:37 +0000 (18:34 +1100)]
configure: Prevent icl being incorrectly detected as msvc.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Reviewed-by: Benoit Fouet <benoit.fouet@free.fr>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge remote-tracking branch 'cehoyos/master'
Michael Niedermayer [Thu, 20 Nov 2014 10:41:27 +0000 (11:41 +0100)]
Merge remote-tracking branch 'cehoyos/master'

* cehoyos/master:
  lavf/mux: Always call write_trailer() from av_write_trailer() to avoid a leak.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavutil/arm/float_dsp_init_vfp: replace restrict by av_restrict
jessejiang [Thu, 20 Nov 2014 07:32:56 +0000 (15:32 +0800)]
avutil/arm/float_dsp_init_vfp: replace restrict by av_restrict

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agolavf/mux: Always call write_trailer() from av_write_trailer() to avoid a leak.
Carl Eugen Hoyos [Thu, 20 Nov 2014 09:14:51 +0000 (10:14 +0100)]
lavf/mux: Always call write_trailer() from av_write_trailer() to avoid a leak.

Fixes ticket #4049.

9 years agoChangelog: add WebP muxer
Michael Niedermayer [Thu, 20 Nov 2014 02:21:05 +0000 (03:21 +0100)]
Changelog: add WebP muxer

Suggested-by: jamrial
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoswscale/x86/rgb2rgb_template: handle the first 2 lines with C in rgb24toyv12_*()
Michael Niedermayer [Wed, 19 Nov 2014 23:43:45 +0000 (00:43 +0100)]
swscale/x86/rgb2rgb_template: handle the first 2 lines with C in rgb24toyv12_*()

This avoids out of array accesses
Should fix Ticket3451

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/dtsdec: dts_probe: check reserved bit, check lfe, check sr_code similarity
Michael Niedermayer [Wed, 19 Nov 2014 23:09:36 +0000 (00:09 +0100)]
avformat/dtsdec: dts_probe: check reserved bit, check lfe, check sr_code similarity

Fixes misdetection of s16le
Fixes Ticket4109

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '7fd10f66b722eccc2ada9128766d002f6d751f79'
Michael Niedermayer [Wed, 19 Nov 2014 19:29:05 +0000 (20:29 +0100)]
Merge commit '7fd10f66b722eccc2ada9128766d002f6d751f79'

* commit '7fd10f66b722eccc2ada9128766d002f6d751f79':
  hdsenc: Clear the previous codec tag when setting up the chained muxer

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit 'f918b8a2933a65020cbe490ec637d5485c11a692'
Michael Niedermayer [Wed, 19 Nov 2014 19:24:06 +0000 (20:24 +0100)]
Merge commit 'f918b8a2933a65020cbe490ec637d5485c11a692'

* commit 'f918b8a2933a65020cbe490ec637d5485c11a692':
  hdsenc: Use the right filename in an error message

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/avienc: write last frame duration
Michael Niedermayer [Wed, 19 Nov 2014 18:59:44 +0000 (19:59 +0100)]
avformat/avienc: write last frame duration

Fixes small part of Ticket 3052

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/avienc: factor frame skip code out
Michael Niedermayer [Wed, 19 Nov 2014 18:30:49 +0000 (19:30 +0100)]
avformat/avienc: factor frame skip code out

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoffmpeg: skip duration cliping for passthrough & drop modes
Michael Niedermayer [Wed, 19 Nov 2014 18:24:39 +0000 (19:24 +0100)]
ffmpeg: skip duration cliping for passthrough & drop modes

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agodoc/writing_filters: use ffmpeg.org instead of wikimedia.org for lena image
Clément Bœsch [Wed, 19 Nov 2014 18:54:48 +0000 (19:54 +0100)]
doc/writing_filters: use ffmpeg.org instead of wikimedia.org for lena image

Less likely to change, and under our control.

Thanks-to: Michael Niedermayer
9 years agoffmpeg: Check duration for overlap and clip in fps cfr/vfr code
Michael Niedermayer [Wed, 19 Nov 2014 16:21:04 +0000 (17:21 +0100)]
ffmpeg: Check duration for overlap and clip in fps cfr/vfr code

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoffmpeg: Use input packet duration in vfr/cfr code if available and valid
Michael Niedermayer [Wed, 19 Nov 2014 14:44:42 +0000 (15:44 +0100)]
ffmpeg: Use input packet duration in vfr/cfr code if available and valid

Fixes Ticket3052

9 years agoavcodec/twinvq: Use av_freep() to avoid leaving stale pointers in memory
Michael Niedermayer [Wed, 19 Nov 2014 12:42:46 +0000 (13:42 +0100)]
avcodec/twinvq: Use av_freep() to avoid leaving stale pointers in memory

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/tta: Use av_freep() to avoid leaving stale pointers in memory
Michael Niedermayer [Wed, 19 Nov 2014 12:42:46 +0000 (13:42 +0100)]
avcodec/tta: Use av_freep() to avoid leaving stale pointers in memory

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/truemotion2: Use av_freep() to avoid leaving stale pointers in memory
Michael Niedermayer [Wed, 19 Nov 2014 12:42:46 +0000 (13:42 +0100)]
avcodec/truemotion2: Use av_freep() to avoid leaving stale pointers in memory

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoffmpeg: fix printed timestamp for droped frames
Michael Niedermayer [Wed, 19 Nov 2014 11:42:05 +0000 (12:42 +0100)]
ffmpeg: fix printed timestamp for droped frames

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agohdsenc: Clear the previous codec tag when setting up the chained muxer
Martin Storsjö [Tue, 18 Nov 2014 12:28:50 +0000 (14:28 +0200)]
hdsenc: Clear the previous codec tag when setting up the chained muxer

The chained flv muxer wants one set of tags - normally this set
could be signaled via the AVOutputFormat codec_tag field (as
smoothstreamingenc and dashenc do). hdsenc doesn't signal it, since
the FLV codec tag arrays aren't exported from flvenc.c. This can
lead to the caller keeping an original codec tag from the originating
container here, which would then be a mismatch for the FLV muxer.
Since we don't really care about what codec tag the caller might
have set, just clear it and let the lavf muxer layer set the right
one for the chained FLV muxer later instead.

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agohdsenc: Use the right filename in an error message
Martin Storsjö [Tue, 18 Nov 2014 12:16:41 +0000 (14:16 +0200)]
hdsenc: Use the right filename in an error message

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agolavf/concatdec: add timestamp log
Stefano Sabatini [Tue, 18 Nov 2014 09:36:16 +0000 (10:36 +0100)]
lavf/concatdec: add timestamp log

Help debugging timestamp conversion issues.

9 years agoffmpeg: better CFR frame duplication selection
Michael Niedermayer [Wed, 19 Nov 2014 02:10:12 +0000 (03:10 +0100)]
ffmpeg: better CFR frame duplication selection

This improves the handling of cases where the frame duration is not known

Fixes Ticket 4119
Fixes Ticket 1578

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoffmpeg: fix variable type for end char
Michael Niedermayer [Wed, 19 Nov 2014 02:05:09 +0000 (03:05 +0100)]
ffmpeg: fix variable type for end char

fixes warning

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/mpegtsenc: change the min value for mpegts_start_pid to allow ATSC PIDs
dedicatedbroadcastsolutions [Tue, 18 Nov 2014 21:43:07 +0000 (13:43 -0800)]
avformat/mpegtsenc: change the min value for mpegts_start_pid to allow ATSC PIDs

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agodashenc: degrade gracefully if a stream's bitrate is unavailable
Rodger Combs [Tue, 18 Nov 2014 19:02:58 +0000 (13:02 -0600)]
dashenc: degrade gracefully if a stream's bitrate is unavailable

If a stream's bitrate is not set, this attempts to use its rc_max_rate;
if neither is set, it avoids writing a bandwidth attribute at all.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agodoc/writing_filters: fix reference to Lenna image
Clément Bœsch [Tue, 18 Nov 2014 20:10:29 +0000 (21:10 +0100)]
doc/writing_filters: fix reference to Lenna image

9 years agodoc/writing_filters: use a more portable sed command in the walk-through
Clément Bœsch [Tue, 18 Nov 2014 20:09:38 +0000 (21:09 +0100)]
doc/writing_filters: use a more portable sed command in the walk-through

9 years agoMerge commit '7813e6752bdab38a5686c301e869ee71d97bce69'
Michael Niedermayer [Tue, 18 Nov 2014 19:33:37 +0000 (20:33 +0100)]
Merge commit '7813e6752bdab38a5686c301e869ee71d97bce69'

* commit '7813e6752bdab38a5686c301e869ee71d97bce69':
  configure: Fix enabling memalign_hack automatically

Conflicts:
configure

See: 3d93ba562243b6d8afac3c875c05304d41da94bf
Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/libvorbisenc: Give CODEC_CAP_SMALL_LAST_FRAME to libvorbis encoder.
Peter Hall [Tue, 18 Nov 2014 15:17:42 +0000 (15:17 +0000)]
avcodec/libvorbisenc: Give CODEC_CAP_SMALL_LAST_FRAME to libvorbis encoder.

The libvorbis encoder already supports a small last frame, but the layer
above doesn't know that because we didn't register the small last frame
capability.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/options: Set AVCodecContext->codec upon initialization.
Vadim Kalinsky [Wed, 12 Nov 2014 17:25:45 +0000 (12:25 -0500)]
avcodec/options: Set AVCodecContext->codec upon initialization.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoconfigure: Fix enabling memalign_hack automatically
Martin Storsjö [Tue, 18 Nov 2014 11:52:26 +0000 (13:52 +0200)]
configure: Fix enabling memalign_hack automatically

simd_align_16 is a configure item that can be enabled or disabled,
it's not a variable containing a list of other configure items
as need_memalign previously. This was broken in eba2233b5.

CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agolavf/ffmenc: fix memleak in ffm_write_header
James Almer [Tue, 18 Nov 2014 06:12:38 +0000 (03:12 -0300)]
lavf/ffmenc: fix memleak in ffm_write_header

Regression since 745730c9c208c40f800d5d71ffa39aceab6ce044.
The dynamic buffer was not being used or freed.

Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: James Almer <jamrial@gmail.com>
9 years agodoc/filters: use '|' instead of ':' in the documentation.
Simon Thelen [Tue, 18 Nov 2014 12:29:27 +0000 (13:29 +0100)]
doc/filters: use '|' instead of ':' in the documentation.

Using colons to separate the outdefs is deprecated. Switch to using '|'
to separate the list items.

Signed-off-by: Simon Thelen <ffmpeg-dev@c-14.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavfilter/af_volume: Use avpriv_float_dsp_alloc()
Michael Niedermayer [Tue, 18 Nov 2014 11:24:41 +0000 (12:24 +0100)]
avfilter/af_volume: Use avpriv_float_dsp_alloc()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavfilter/af_amix: Use avpriv_float_dsp_alloc()
Michael Niedermayer [Tue, 18 Nov 2014 11:24:16 +0000 (12:24 +0100)]
avfilter/af_amix: Use avpriv_float_dsp_alloc()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/nellymoser: Use avpriv_float_dsp_alloc()
Michael Niedermayer [Fri, 14 Nov 2014 12:37:45 +0000 (13:37 +0100)]
avcodec/nellymoser: Use avpriv_float_dsp_alloc()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agodoc/APIchanges: Fix some wrong versions
Michael Niedermayer [Tue, 18 Nov 2014 10:52:17 +0000 (11:52 +0100)]
doc/APIchanges: Fix some wrong versions

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavutil/float_dsp: add avpriv_float_dsp_alloc()
Michael Niedermayer [Fri, 14 Nov 2014 13:39:45 +0000 (14:39 +0100)]
avutil/float_dsp: add avpriv_float_dsp_alloc()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agolibavcodec/tiffenc: Use av_freep() avoid leaving stale pointers in memory
Michael Niedermayer [Tue, 18 Nov 2014 10:33:00 +0000 (11:33 +0100)]
libavcodec/tiffenc: Use av_freep() avoid leaving stale pointers in memory

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agolibavcodec/libxavs: Use av_freep() avoid leaving stale pointers in memory
Michael Niedermayer [Tue, 18 Nov 2014 10:33:00 +0000 (11:33 +0100)]
libavcodec/libxavs: Use av_freep() avoid leaving stale pointers in memory

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agolibavcodec/libx264: Use av_freep() avoid leaving stale pointers in memory
Michael Niedermayer [Tue, 18 Nov 2014 10:33:00 +0000 (11:33 +0100)]
libavcodec/libx264: Use av_freep() avoid leaving stale pointers in memory

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/mjpegdec: Support some subsampled GBR variants
Michael Niedermayer [Tue, 18 Nov 2014 04:10:21 +0000 (05:10 +0100)]
avcodec/mjpegdec: Support some subsampled  GBR variants

Fixes Ticket4045

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/mp3dec: avoid seeking to negative positions
Michael Niedermayer [Tue, 18 Nov 2014 03:04:37 +0000 (04:04 +0100)]
avformat/mp3dec: avoid seeking to negative positions

Fixes Ticket4038

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/internal: Add () to argument of FF_SIGNBIT() to ensure correct order or opera...
Michael Niedermayer [Tue, 18 Nov 2014 02:42:40 +0000 (03:42 +0100)]
avcodec/internal: Add () to argument of FF_SIGNBIT() to ensure correct order or operations

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '2007082d2db25f9305b8a345798b840ea7784fdb'
Michael Niedermayer [Tue, 18 Nov 2014 02:33:35 +0000 (03:33 +0100)]
Merge commit '2007082d2db25f9305b8a345798b840ea7784fdb'

* commit '2007082d2db25f9305b8a345798b840ea7784fdb':
  mov: check ff_get_wav_header() return value

Conflicts:
libavformat/mov.c

See: 6d55a40b00801899f7975b22401bdd96bbc228af
Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '85dc006b1a829726dd5e3a9b0fcc6a1dbfe6dffa'
Michael Niedermayer [Tue, 18 Nov 2014 02:16:38 +0000 (03:16 +0100)]
Merge commit '85dc006b1a829726dd5e3a9b0fcc6a1dbfe6dffa'

* commit '85dc006b1a829726dd5e3a9b0fcc6a1dbfe6dffa':
  lavc: fix bitshifts amount bigger than the type

Conflicts:
libavcodec/internal.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '771656bd85416cd6308b11aed6f2c69a8db9c21b'
Michael Niedermayer [Tue, 18 Nov 2014 02:08:20 +0000 (03:08 +0100)]
Merge commit '771656bd85416cd6308b11aed6f2c69a8db9c21b'

* commit '771656bd85416cd6308b11aed6f2c69a8db9c21b':
  libvpxenc: clean memory on error

Conflicts:
libavcodec/libvpxenc.c

See: 104b1d9e103f90485e894b20dd5bb3f1964fe5f3
Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit 'a28468d0daf4be14761c16a3ddd33266b2380123'
Michael Niedermayer [Tue, 18 Nov 2014 01:55:23 +0000 (02:55 +0100)]
Merge commit 'a28468d0daf4be14761c16a3ddd33266b2380123'

* commit 'a28468d0daf4be14761c16a3ddd33266b2380123':
  librtmp: append the correct field to the string

See: d1970929b5f8b873aac171586343c9d8142897ad
Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '9257692ac15eff7b07540c1f61cebde0d8823fbd'
Michael Niedermayer [Tue, 18 Nov 2014 01:38:38 +0000 (02:38 +0100)]
Merge commit '9257692ac15eff7b07540c1f61cebde0d8823fbd'

* commit '9257692ac15eff7b07540c1f61cebde0d8823fbd':
  lavf: Only initialize s->offset once when using avoid_negative_ts make_zero

Conflicts:
libavformat/mux.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agomov: check ff_get_wav_header() return value
Vittorio Giovara [Sun, 16 Nov 2014 23:22:23 +0000 (00:22 +0100)]
mov: check ff_get_wav_header() return value

CC: libav-stable@libav.org
Bug-Id: CID 717497

9 years agolavc: fix bitshifts amount bigger than the type
Vittorio Giovara [Sun, 16 Nov 2014 23:22:27 +0000 (00:22 +0100)]
lavc: fix bitshifts amount bigger than the type

CC: libav-stable@libav.org
Bug-Id: CID 1194387 / CID 1194389 / CID 1194393 / CID 1206638

9 years agolibvpxenc: clean memory on error
Vittorio Giovara [Sun, 16 Nov 2014 23:22:28 +0000 (00:22 +0100)]
libvpxenc: clean memory on error

CC: libav-stable@libav.org
Bug-Id: CID 733795

9 years agolibrtmp: append the correct field to the string
Vittorio Giovara [Sun, 16 Nov 2014 23:22:22 +0000 (00:22 +0100)]
librtmp: append the correct field to the string

Also prevent a NULL pointer dereference.

CC: libav-stable@libav.org
Bug-Id: CID 1250329 / CID 1250331

9 years agoavdevice/oss_audio: avoid strerror() and errbuf
Michael Niedermayer [Sat, 18 Oct 2014 21:24:23 +0000 (23:24 +0200)]
avdevice/oss_audio: avoid strerror() and errbuf

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit 'c302d034ba2690a935df8bf7e4f5d44ed86e8d5c'
Michael Niedermayer [Mon, 17 Nov 2014 22:09:22 +0000 (23:09 +0100)]
Merge commit 'c302d034ba2690a935df8bf7e4f5d44ed86e8d5c'

* commit 'c302d034ba2690a935df8bf7e4f5d44ed86e8d5c':
  tools: Add a sidxindex tool

Conflicts:
libavformat/Makefile

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '40ed1cbf147d09fc0894bee160f0b6b6d9159fc5'
Michael Niedermayer [Mon, 17 Nov 2014 22:02:02 +0000 (23:02 +0100)]
Merge commit '40ed1cbf147d09fc0894bee160f0b6b6d9159fc5'

* commit '40ed1cbf147d09fc0894bee160f0b6b6d9159fc5':
  movenc: Allow writing a DASH sidx atom at the start of files

Conflicts:
libavformat/movenc.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '3847f3ab58b3b74604807394247bf68827258103'
Michael Niedermayer [Mon, 17 Nov 2014 21:23:48 +0000 (22:23 +0100)]
Merge commit '3847f3ab58b3b74604807394247bf68827258103'

* commit '3847f3ab58b3b74604807394247bf68827258103':
  movenc: Add tfra entries for all tracks in a moof

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agolavf: Only initialize s->offset once when using avoid_negative_ts make_zero
Martin Storsjö [Mon, 17 Nov 2014 11:31:47 +0000 (13:31 +0200)]
lavf: Only initialize s->offset once when using avoid_negative_ts make_zero

When given a stream starting at dts=0, it would previously consider
s->offset as uninitialized and set an offset when the second packet
was written, ending up writing two packets with dts=0. By initializing
this field to AV_NOPTS_VALUE, we make sure that we only initialize it
once, on the first packet.

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agoMerge commit 'fe5e6e34c05e274f98528be4f77f3c474473f977'
Michael Niedermayer [Mon, 17 Nov 2014 21:07:11 +0000 (22:07 +0100)]
Merge commit 'fe5e6e34c05e274f98528be4f77f3c474473f977'

* commit 'fe5e6e34c05e274f98528be4f77f3c474473f977':
  lavf: Add an MPEG-DASH ISOFF segmenting muxer

Conflicts:
Changelog
libavformat/Makefile
libavformat/allformats.c
libavformat/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '2ded57371abead879bcee56da5131e5fac0d17ef'
Michael Niedermayer [Mon, 17 Nov 2014 20:55:23 +0000 (21:55 +0100)]
Merge commit '2ded57371abead879bcee56da5131e5fac0d17ef'

* commit '2ded57371abead879bcee56da5131e5fac0d17ef':
  movenc: Add support for writing sidx atoms for DASH segments

Conflicts:
Changelog
libavformat/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '2d9d6afb8d2f284f5e620ecc19f643d5cd3facb8'
Michael Niedermayer [Mon, 17 Nov 2014 20:43:31 +0000 (21:43 +0100)]
Merge commit '2d9d6afb8d2f284f5e620ecc19f643d5cd3facb8'

* commit '2d9d6afb8d2f284f5e620ecc19f643d5cd3facb8':
  movenc: Factorize adding fragment info into a separate function

Merged-by: Michael Niedermayer <michaelni@gmx.at>