OSDN Git Service
Stephen Hutchinson [Tue, 26 Feb 2013 23:03:01 +0000 (18:03 -0500)]
Provide local copies of AviSynth's and AvxSynth's requisite headers in compat/avisynth/.
The versions of the headers are the same as those provided with x264
for consistency's sake.
d s [Tue, 26 Feb 2013 23:02:20 +0000 (18:02 -0500)]
AviSynth demuxer rewrite.
Dynamically loads the library itself, rather than through VfW.
Supports AvxSynth on Linux and OS X.
Supports the new colorspaces added in AviSynth 2.6 when used
with AviSynth 2.6.
Michael Niedermayer [Thu, 21 Mar 2013 03:05:02 +0000 (04:05 +0100)]
avformat/avs: increase probe score to preempt conflict with avxsynth
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Clément Bœsch [Tue, 19 Mar 2013 21:47:49 +0000 (22:47 +0100)]
lavc/utils: fix metadata audio frame memleak in case of non refcounted frames.
The metadata must be set before saving the frame to avci->to_free,
otherwise it will leak.
Signed-off-by: Hendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: Clément Bœsch <ubitux@gmail.com>
Michael Niedermayer [Wed, 20 Mar 2013 23:49:24 +0000 (00:49 +0100)]
asrc_sine: avoid use of INFINITY as it might be a non constant
This should fix compilation on openbsd
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Wed, 20 Mar 2013 20:41:22 +0000 (21:41 +0100)]
Merge remote-tracking branch 'cigaes/master'
* cigaes/master:
lavfi/vf_yadif: use standard options parsing.
lavfi/vf_unsharp: use standard options parsing.
lavfi/vf_transpose: use standard options parsing.
lavfi/vf_pad: use standard options parsing.
lavfi/vf_fps: use standard options parsing.
lavfi/vf_fade: use standard options parsing.
lavi/vf_drawbox: use standard options parsing.
lavfi/vf_delogo: use standard options parsing.
lavfi/vf_decimate: use standard options parsing.
lavfi/vf_crop: use standard options parsing.
lavfi/af_volume: use standard options parsing.
lavfi/vf_tile: use standard options parsing.
lavfi/avf_concat: use standard options parsing.
lavfi: add common code to handle options parsing.
lavf/vobsub: free index pseudo-packet.
ffmpeg: fix freeing of sub2video frame.
lavfi: add sine audio source.
lavu/opt: add AV_OPT_TYPE_DURATION.
lavfi/concat: fix silence duration computation.
lavf/concatdec: support seeking.
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Frank Galligan [Thu, 7 Mar 2013 16:11:38 +0000 (08:11 -0800)]
matroskadec: Add support for parsing Matroska ContentEncKeyID
This patch adds the enums for the ContentEncryption elements.
This patch also adds support for parsing the ContentEncKeyID. The
ContentEncKeyID is then base64 encoded and stored in the stream's
metadata.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Nicolas George [Sat, 16 Mar 2013 20:28:02 +0000 (21:28 +0100)]
lavfi/vf_yadif: use standard options parsing.
Nicolas George [Sat, 16 Mar 2013 20:27:56 +0000 (21:27 +0100)]
lavfi/vf_unsharp: use standard options parsing.
Nicolas George [Sat, 16 Mar 2013 20:27:48 +0000 (21:27 +0100)]
lavfi/vf_transpose: use standard options parsing.
Nicolas George [Sat, 16 Mar 2013 20:27:41 +0000 (21:27 +0100)]
lavfi/vf_pad: use standard options parsing.
Nicolas George [Sat, 16 Mar 2013 20:27:34 +0000 (21:27 +0100)]
lavfi/vf_fps: use standard options parsing.
Nicolas George [Sat, 16 Mar 2013 20:27:24 +0000 (21:27 +0100)]
lavfi/vf_fade: use standard options parsing.
Nicolas George [Sat, 16 Mar 2013 20:27:10 +0000 (21:27 +0100)]
lavi/vf_drawbox: use standard options parsing.
Nicolas George [Sat, 16 Mar 2013 20:14:57 +0000 (21:14 +0100)]
lavfi/vf_delogo: use standard options parsing.
Nicolas George [Sat, 16 Mar 2013 20:08:06 +0000 (21:08 +0100)]
lavfi/vf_decimate: use standard options parsing.
Nicolas George [Sat, 16 Mar 2013 20:03:31 +0000 (21:03 +0100)]
lavfi/vf_crop: use standard options parsing.
Nicolas George [Sat, 16 Mar 2013 19:54:57 +0000 (20:54 +0100)]
lavfi/af_volume: use standard options parsing.
Nicolas George [Sat, 16 Mar 2013 19:41:36 +0000 (20:41 +0100)]
lavfi/vf_tile: use standard options parsing.
Nicolas George [Sat, 16 Mar 2013 19:41:06 +0000 (20:41 +0100)]
lavfi/avf_concat: use standard options parsing.
Nicolas George [Sat, 16 Mar 2013 19:40:30 +0000 (20:40 +0100)]
lavfi: add common code to handle options parsing.
Nicolas George [Wed, 20 Mar 2013 10:12:59 +0000 (11:12 +0100)]
lavf/vobsub: free index pseudo-packet.
Nicolas George [Wed, 20 Mar 2013 10:12:20 +0000 (11:12 +0100)]
ffmpeg: fix freeing of sub2video frame.
Nicolas George [Sat, 16 Mar 2013 15:33:05 +0000 (16:33 +0100)]
lavfi: add sine audio source.
Nicolas George [Sat, 16 Mar 2013 14:25:55 +0000 (15:25 +0100)]
lavu/opt: add AV_OPT_TYPE_DURATION.
Nicolas George [Sat, 16 Mar 2013 11:21:14 +0000 (12:21 +0100)]
lavfi/concat: fix silence duration computation.
Inside send_silence(), delta_ts was used inconsistently:
sometimes as the new value, sometimes as the old value.
Consistently use it as the new value, and add an argument
to know the last segment duration.
Nicolas George [Thu, 14 Feb 2013 15:00:06 +0000 (16:00 +0100)]
lavf/concatdec: support seeking.
Michael Niedermayer [Wed, 20 Mar 2013 16:49:20 +0000 (17:49 +0100)]
avformat: Fix infinite probing that reads the whole file
Fixes: otonajoshi_avformat_tries_to_load_whole.ts
Reported-by: JEEB (on IRC)
Thanks-to: nevcairiel
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Wed, 20 Mar 2013 16:23:23 +0000 (17:23 +0100)]
av_find_stream_info: change read_size to 64bit
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Wed, 20 Mar 2013 12:57:59 +0000 (13:57 +0100)]
Merge remote-tracking branch 'cigaes/master'
* cigaes/master:
lavu/frame: use channels rather than channel_layout.
lavf: avformat_seek_file(): validate stream_index.
lavf/concatdec: fix possible leak in case of malloc failure.
lavfi/buffersink: check av_frame_ref() failure.
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Nedeljko Babic [Wed, 20 Mar 2013 10:43:40 +0000 (11:43 +0100)]
libavcodec/mips: fix for mips optimized fp fft with hard coded tables disabled
Floating point FFT (nips optimized) breaks when hard coded tables are
not enabled because MIPS optimization of floating point FFT uses only
ff_init_ff_cos_tabs(16) which is not enabled by default in that case.
This patch is fixing it.
Signed-off-by: Nedeljko Babic <nbabic@mips.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Wed, 20 Mar 2013 12:02:27 +0000 (13:02 +0100)]
avutil/atomic: use av_assert0()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Wed, 20 Mar 2013 12:43:05 +0000 (13:43 +0100)]
avutil: fix compilation
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Nicolas George [Sat, 16 Mar 2013 10:33:25 +0000 (11:33 +0100)]
lavu/frame: use channels rather than channel_layout.
Nicolas George [Wed, 20 Mar 2013 11:27:42 +0000 (12:27 +0100)]
lavf: avformat_seek_file(): validate stream_index.
Nicolas George [Wed, 20 Mar 2013 09:18:12 +0000 (10:18 +0100)]
lavf/concatdec: fix possible leak in case of malloc failure.
Fix CID 747737.
Nicolas George [Wed, 20 Mar 2013 10:40:28 +0000 (11:40 +0100)]
lavfi/buffersink: check av_frame_ref() failure.
Paul B Mahol [Sat, 16 Mar 2013 19:00:39 +0000 (19:00 +0000)]
lavfi/showwaves: make use of AV_OPT_TYPE_VIDEO_RATE
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Sun, 17 Mar 2013 10:49:56 +0000 (10:49 +0000)]
lavu/opt: add AV_OPT_VIDEO_RATE option
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Bojan Zivkovic [Wed, 6 Mar 2013 13:55:06 +0000 (14:55 +0100)]
mips: Optimization of IIR filter function
Signed-off-by: Bojan Zivkovic <bojan@mips.com>
Reviewed-by: Nedeljko Babic <Nedeljko.Babic@imgtec.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Bojan Zivkovic [Wed, 6 Mar 2013 13:55:05 +0000 (14:55 +0100)]
mips: Optimization of AAC coefficients encoder functions
Signed-off-by: Bojan Zivkovic <bojan@mips.com>
Reviewed-by: Nedeljko Babic <Nedeljko.Babic@imgtec.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Wed, 20 Mar 2013 11:03:49 +0000 (12:03 +0100)]
Merge remote-tracking branch 'qatar/master'
* qatar/master:
rtmp: Pass the parameters to do_adobe_auth in the right order
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Wed, 20 Mar 2013 10:57:22 +0000 (11:57 +0100)]
Merge commit '
c3ebfcd6e1327ca7bbcaee822e593c2da6cfd352'
* commit '
c3ebfcd6e1327ca7bbcaee822e593c2da6cfd352':
mpegvideo: allocate hwaccel privdata after the frame buffer
h264: allocate hwaccel privdata after the frame buffer
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Wed, 20 Mar 2013 10:50:26 +0000 (11:50 +0100)]
Merge commit '
c71c80f53b6a63fd6360d9de5a262f9e7c85681f'
* commit '
c71c80f53b6a63fd6360d9de5a262f9e7c85681f':
pthread: unref already decoded frames when flushing the decoder
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Wed, 20 Mar 2013 10:43:20 +0000 (11:43 +0100)]
Merge commit '
4e70d66ded537cadd32dbd02a38c3d86a203c812'
* commit '
4e70d66ded537cadd32dbd02a38c3d86a203c812':
mpegvideo: fix allocation of the hwaccel_picture_private data
lavc: update the doxy for avcodec_decode_{video,audio} wtih refcounting.
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Wed, 20 Mar 2013 10:30:49 +0000 (11:30 +0100)]
Merge commit '
6599b087de62a5f9f2a8d61a1952d777d1bff804'
* commit '
6599b087de62a5f9f2a8d61a1952d777d1bff804':
buffersrc: fix a typo.
lavc, lavfi: fix counting number of planes in AVBufferRef wrappers
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Wed, 20 Mar 2013 10:24:11 +0000 (11:24 +0100)]
Merge commit '
2c328a907978b61949fd20f7c991803174337855'
* commit '
2c328a907978b61949fd20f7c991803174337855':
pixdesc: add a function for counting planes in a pixel format.
avplay: remove the -debug option.
Revert "asfenc: return error on negative timestamp"
Conflicts:
doc/APIchanges
doc/ffplay.texi
ffplay.c
libavutil/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Martin Storsjö [Wed, 20 Mar 2013 09:07:53 +0000 (11:07 +0200)]
rtmp: Pass the parameters to do_adobe_auth in the right order
do_adobe_auth takes the parameters in the order "opaque, challenge".
Due to the way they are treated, this didn't matter in the tested
setups though - if both are set, we only use one. In the tested
setups (Wowza and Akamai) either one of them were null or they
were both set to the same value, which is why this worked before.
Signed-off-by: Martin Storsjö <martin@martin.st>
Sebastian Sandberg [Thu, 31 Jan 2013 17:04:22 +0000 (18:04 +0100)]
vc1dec: interlaced B-frames
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 19 Feb 2013 18:58:52 +0000 (19:58 +0100)]
er: set error_occured on missing slices
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Clément Bœsch [Tue, 19 Mar 2013 22:09:36 +0000 (23:09 +0100)]
fate: make metadata fate tests only output ts and metadata.
The other information are just cluttering the output. The command line
is also simplified in the process.
Stefano Sabatini [Mon, 18 Mar 2013 22:17:55 +0000 (23:17 +0100)]
lavc/utils: add VP6F hack for setting correct video size in stream
For some obscure reasons avcodec_set_dimensions() resets the width/height
so that the resulting value set in the stream is equal to the
corresponding coded_width/height, which is not the same as the correct
width/height in case of the H.264 and VP6F codecs.
This adds a codec-specific hack for VP6F which disables the call to
avcodec_set_dimensions() in avcodec_open2(), like it is done with H264. A
proper fix needs to be found yet.
Fix trac ticket #1386.
Based on a patch by Michael Niedermayer.
Trolled-By: Daemon404
See thread:
Subject: [FFmpeg-devel] [PATCH] ffprobe: Stash and use width and height before opening the codec
Date: Fri, 1 Mar 2013 10:41:34 -0500
Clément Bœsch [Tue, 19 Mar 2013 20:25:49 +0000 (21:25 +0100)]
lavd/dshow: fix style and typo recently introduced.
Paul B Mahol [Tue, 19 Mar 2013 15:15:37 +0000 (15:15 +0000)]
lavfi: remove harddup libmpcodecs wrapper
It is supposed to be used with mencoder only and does
nothing when used with ffmpeg.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Compn [Tue, 19 Mar 2013 17:23:05 +0000 (13:23 -0400)]
changelog: 10% faster aac encoding on x86 and MIPS
Stefano Sabatini [Tue, 19 Mar 2013 16:57:50 +0000 (17:57 +0100)]
ffprobe: set writer context to 0 after allocation
Avoid access to uninitialized values, which may result in a crash.
This happens for example in case of option parsing failure, since in that
case the internal AVBprint buffers are not initialized.
Clément Bœsch [Tue, 19 Mar 2013 16:45:53 +0000 (17:45 +0100)]
doc/developer: fix typo in regression tests ref.
Clément Bœsch [Tue, 19 Mar 2013 16:39:08 +0000 (17:39 +0100)]
fate: add missing filter dep in metadata tests.
Stefano Sabatini [Mon, 18 Mar 2013 23:09:14 +0000 (00:09 +0100)]
doc/ffmpeg,ffmpeg-formats: avoid to mention ffmpeg options from formats.texi
Also extends documentation for timestamp related ffmpeg options, in order
to make more apparent the fact that muxer processing may change the
timestamps values.
Stefano Sabatini [Mon, 18 Mar 2013 22:55:19 +0000 (23:55 +0100)]
doc/ffmpeg-formats: reword and extend documentation for avoid_negative_ts option
Hopefully increase readability.
Stefano Sabatini [Mon, 18 Mar 2013 22:44:51 +0000 (23:44 +0100)]
lavf/avformat.h: fix a few typos in AVFormatContext:avoid_negative_ts doxy
Nedeljko Babic [Thu, 28 Feb 2013 14:57:09 +0000 (15:57 +0100)]
mips: inline assembly clobber list polishing
List of clobbered registers fixed and added where it is lacking.
Signed-off-by: Nedeljko Babic <nbabic@mips.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 19 Mar 2013 15:30:44 +0000 (16:30 +0100)]
lmlm4: check packet_size against lower limit too
Fixes CID732224
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 19 Mar 2013 15:15:31 +0000 (16:15 +0100)]
doc: update release_notes by taking the ones from release/1.2
Clément Bœsch [Tue, 19 Mar 2013 14:24:15 +0000 (15:24 +0100)]
fate: add curves filter test.
Michael Niedermayer [Tue, 19 Mar 2013 14:22:56 +0000 (15:22 +0100)]
vp56: Check av_frame_ref() return code
Fixes CID991837
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 19 Mar 2013 14:09:10 +0000 (15:09 +0100)]
avformat/tee: add forgotten ret assignment
Fixes CID991840
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 19 Mar 2013 13:43:47 +0000 (14:43 +0100)]
hpeldsp: Increase put_no_rnd_pixels_tab[][] size
Fixes CID991852
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Clément Bœsch [Fri, 15 Mar 2013 01:52:30 +0000 (02:52 +0100)]
fate: add ebur128 metadata test.
Michael Niedermayer [Tue, 19 Mar 2013 13:19:29 +0000 (14:19 +0100)]
audio_get_buffer: add assert to ensure nb_extended_buf has a safe value
May silence CID991853
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 19 Mar 2013 13:07:39 +0000 (14:07 +0100)]
matroska_parse_frame: fix memleak
Fixes CID991856
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Clément Bœsch [Sat, 16 Mar 2013 23:27:00 +0000 (00:27 +0100)]
lavf: do not make a hard dep on internal subtitles helpers.
Michael Niedermayer [Tue, 19 Mar 2013 12:44:53 +0000 (13:44 +0100)]
mpegvideo_enc: remove stray semicolon
Fixes CID991857
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 19 Mar 2013 12:35:10 +0000 (13:35 +0100)]
avutil/add_to_pool: remove unused assgnment
Fixed CID991859
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
chinshou [Tue, 19 Mar 2013 12:27:53 +0000 (13:27 +0100)]
alac: Fix order of values in comment
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 19 Mar 2013 12:06:08 +0000 (13:06 +0100)]
avidec: fix duration and bitrate of truncated files
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Hendrik Leppkes [Mon, 18 Mar 2013 17:54:44 +0000 (18:54 +0100)]
mpegvideo: allocate hwaccel privdata after the frame buffer
This ensures the hwaccel privdata does not leak when a frame buffer could
not be allocated (and toggle the assert when the frame is re-used).
Having no frame buffer available is quite common when using the DXVA2
hwaccel in situations where the DXVA2 renderer is being re-allocated, for
example when moving between displays.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Hendrik Leppkes [Mon, 18 Mar 2013 17:54:43 +0000 (18:54 +0100)]
h264: allocate hwaccel privdata after the frame buffer
This ensures the hwaccel privdata does not leak when a frame buffer could
not be allocated (and toggle the assert when the frame is re-used).
Having no frame buffer available is quite common when using the DXVA2
hwaccel in situations where the DXVA2 renderer is being re-allocated, for
example when moving between displays.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Hendrik Leppkes [Mon, 18 Mar 2013 16:09:49 +0000 (17:09 +0100)]
pthread: unref already decoded frames when flushing the decoder
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Hendrik Leppkes [Fri, 15 Mar 2013 20:20:37 +0000 (21:20 +0100)]
mpegvideo: fix allocation of the hwaccel_picture_private data
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Anton Khirnov [Mon, 18 Mar 2013 06:22:58 +0000 (07:22 +0100)]
buffersrc: fix a typo.
Vertical shift is log2_chroma_h, not log2_chroma_w.
Anton Khirnov [Sat, 16 Mar 2013 18:37:52 +0000 (19:37 +0100)]
pixdesc: add a function for counting planes in a pixel format.
Anton Khirnov [Mon, 18 Mar 2013 06:38:20 +0000 (07:38 +0100)]
lavc: update the doxy for avcodec_decode_{video,audio} wtih refcounting.
Anton Khirnov [Sat, 16 Mar 2013 21:36:56 +0000 (22:36 +0100)]
lavc, lavfi: fix counting number of planes in AVBufferRef wrappers
Number of planes is not always equal to the number of components even
for formats marked with PIX_FMT_PLANAR -- e.g. NV12 has three components
in two planes.
Anton Khirnov [Tue, 19 Mar 2013 06:55:25 +0000 (07:55 +0100)]
avplay: remove the -debug option.
It just shadows the corresponding AVOption and prevents using named
constants.
Anton Khirnov [Tue, 19 Mar 2013 10:04:55 +0000 (11:04 +0100)]
Revert "asfenc: return error on negative timestamp"
This reverts commit
d1bec33b46091546c5b2e6815210e73f87abf413, it breaks
FATE.
Paul B Mahol [Tue, 19 Mar 2013 09:37:33 +0000 (09:37 +0000)]
ffplay: silence warning of mixed enumeration types
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Matthieu Bouron [Sat, 16 Feb 2013 12:52:29 +0000 (13:52 +0100)]
lavf/mxfdec: read field dominance flag
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Hendrik Leppkes [Sun, 17 Mar 2013 09:59:39 +0000 (10:59 +0100)]
pthread: update all get_buffer checks for get_buffer2
This restores the performance of simple frame-threaded codecs back to
their pre-merge levels.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Carl Eugen Hoyos [Tue, 19 Mar 2013 01:11:39 +0000 (02:11 +0100)]
Fix Makefile dependency for the dvd_nav parser.
Fixes compilation for --disable-everything --enable-parser=dvd_nav
Carl Eugen Hoyos [Mon, 18 Mar 2013 23:43:01 +0000 (00:43 +0100)]
Inform the user if a pix_fmt != yuv420p was chosen for x264 encoding.
Michael Niedermayer [Mon, 18 Mar 2013 23:47:00 +0000 (00:47 +0100)]
AVFrame.pkt_dts: improve docs
Related to Ticket2375
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Mon, 18 Mar 2013 18:06:45 +0000 (19:06 +0100)]
segment: copy metadata
Fixes Ticket2230
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Thierry Foucu [Mon, 18 Mar 2013 21:00:23 +0000 (14:00 -0700)]
Fix termination of mov_ch_layouts_wav array lookup
Problem found using ASAN.
In some case, the ff_mov_get_channel_layout_tag function will not find 0
as termination for lookup in the array mov_ch_layouts_wav.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Mon, 18 Mar 2013 22:17:16 +0000 (23:17 +0100)]
doc: Document the order in which avoid_negative_ts is applied compared to other timestamp options
Also try to document the rational behind it.
This might fix Ticket2376
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Mon, 18 Mar 2013 22:08:56 +0000 (23:08 +0100)]
doc: try to improve avoid_negative_ts documentation
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Clément Bœsch [Sun, 17 Mar 2013 01:30:10 +0000 (02:30 +0100)]
lavc: fix avpacket memleak with subtitles recoding.
dronus [Sun, 10 Mar 2013 15:29:04 +0000 (16:29 +0100)]
libavdevice sdl: added window_fullscreen option to switch SDL output into fullscreen mode
Elvis Presley [Mon, 18 Mar 2013 18:34:41 +0000 (19:34 +0100)]
libavcodec/proresdec.h: fix license header
This was somehow missed when relicensing the decoder to LGPL
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sun, 17 Mar 2013 17:36:16 +0000 (18:36 +0100)]
avutil/buffer: Fix race in pool.
This race will always happen sooner or later in a multi-threaded
environment and it will over time lead to OOM.
This fix works by spinning, there are other ways by which this
can be fixed, like simply detecting the issue after it happened
and freeing the over-allocated memory or simply using a mutex.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>