- 13 Feb, 2012 4 commits
-
-
Reimar Döffinger authored
Seek beyond the end will now directly return an error instead of claiming to succeed and then return EOF immediately on next read. This change is because before 47e015e6 mkv seek incorrectly never failed. Signed-off-by:
Reimar Döffinger <Reimar.Doeffinger@gmx.de>
-
Reimar Döffinger authored
In particular, detect when the index is obviously broken. This fixes the worst symptoms of trac issue #958 and makes sense to allow seeking in files without index. However it is possible that there still is an index parsing bug with that file. Signed-off-by:
Reimar Döffinger <Reimar.Doeffinger@gmx.de>
-
Reimar Döffinger authored
Otherwise when we run into levels beyond the max. allowed playback will be permanently broken. Signed-off-by:
Reimar Döffinger <Reimar.Doeffinger@gmx.de>
-
Michael Niedermayer authored
* qatar/master: swscale: convert yuv2yuvX() to using named arguments. swscale: rename "dstw" to "w" to prevent name collisions. swscale: use named registers in yuv2yuv1_plane() place. lavf: fix aspect ratio mismatch message. avconv: set AVFormatContext.duration from '-t' cljr: implement encode2. cljr: set the properties of the coded_frame, not input frame. dnxhdenc: switch to encode2. bmpenc: switch to encode2(). Conflicts: libavcodec/bmpenc.c libavcodec/cljr.c libavformat/utils.c tests/ref/vsynth1/cljr tests/ref/vsynth2/cljr Merged-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 12 Feb, 2012 18 commits
-
-
Reimar Döffinger authored
%ifdef HAVE_AVX must now be %if HAVE_AVX. Signed-off-by:
Reimar Döffinger <Reimar.Doeffinger@gmx.de>
-
Michael Niedermayer authored
The cleanup is only done now when a picture is returned (assuming that it has to be done when its returned) a error is returned (assuming that there will be no further progress on the frame) the codec is not h264 (this is still needed due to some deadlocks in realvideo) This fixes a decoding regression with 00017.MTS Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
This order is more logic and might prevent a race. Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
This fixes some deadlock without the generic cleanup code. Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Andrey Utkin authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Reimar Döffinger authored
Signed-off-by:
Reimar Döffinger <Reimar.Doeffinger@gmx.de>
-
Reimar Döffinger authored
To make seeking work correctly, we must write a new granule for each keyframe. Unfortunately we currently have no regression tests due to no included Theora encoder. A test based on -vcodec copy from a Theora FATE sample should probably be added. Signed-off-by:
Reimar Döffinger <Reimar.Doeffinger@gmx.de>
-
Reimar Döffinger authored
Some MMX-only CPUs do not have support for CMOV. All SSE/MMX2 CPUs should be fine, thus no check was added to those functions. See also https://sourceforge.net/tracker/?func=detail&aid=3358347&group_id=205275&atid=992986Signed-off-by:
Reimar Döffinger <Reimar.Doeffinger@gmx.de>
-
Ronald S. Bultje authored
-
Ronald S. Bultje authored
"dstw" can collide with the word-version of the "dst" argument, causing all kind of weird stuff down the pipe.
-
Ronald S. Bultje authored
Most of the function had been converted before, but I forgot this particular location.
-
Andrey Utkin authored
Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
Andrey Utkin authored
Set output files duration to recording_time option, if given. Rationale: to save duration into metadata for file that is written to non-seekable output, for formats like FLV (with metadata at beginning). Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Michael Niedermayer authored
* qatar/master: FATE: update reference for seek-alac_mp4 sunrast: Return AVERROR values instead of -1. sunrast: Add support for gray8 decoding. swscale: enforce a minimum filtersize. alacenc: use AVCodec.encode2() alacenc: cosmetics: indentation alacenc: consolidate bitstream writing into a single function. alacenc: only encode frame size in header for a final smaller frame alacenc: store current frame size in AlacEncodeContext. alacenc: return AVERROR codes in alac_encode_frame() alacenc: calculate a new max frame size for the final small frame alacenc: pretty-printing and other cosmetics alacenc: fix error handling and potential memleaks in alac_encode_init() alacenc: do not set coded_frame->key_frame alacenc: do not set bits_per_coded_sample alacenc: remove unneeded frame_size check in alac_encode_frame() tta: error out if samplerate is zero. ttadec: fix invalid free when an error occurs while decoding 24-bit tta wavpack: add needed braces for 2 statements inside an if block Conflicts: tests/ref/acodec/alac Merged-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 11 Feb, 2012 18 commits
-
-
Carl Eugen Hoyos authored
Fixes ticket #973.
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Paul B Mahol authored
Signed-off-by:
Paul B Mahol <onemda@gmail.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Pavel Koshevoy authored
This is so that TS fragments produced by http://code.google.com/p/httpsegmenter/ would be compatible with JW Player. A new member variable prev_payload_key was added to MpegTSWriteStream to help detect transition from non-key to key frame, so that PAT/PMT would not be produced for every keyframe in intra-only videos. Signed-off-by:
Pavel Koshevoy <pkoshevoy@gmail.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Carl Eugen Hoyos authored
-
Carl Eugen Hoyos authored
Makes the next patch smaller.
-
Justin Ruggles authored
This should have been updated in b590f3a7.
-
Aneesh Dogra authored
Signed-off-by:
Ronald S. Bultje <rsbultje@gmail.com>
-
Aneesh Dogra authored
Signed-off-by:
Ronald S. Bultje <rsbultje@gmail.com>
-
Ronald S. Bultje authored
At very small dimensions, this calculation could lead to zero-sized filters, which leads to uninitialized output, zero-sized allocations, loop overflows in SIMD that uses do{..}while(i++<filtersize); instead of for(i=0;i<filtersize;i++){..} and several other similar failures. Therefore, require a minimum filtersize of 1. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
Simplifies use of verbatim mode.
-
Justin Ruggles authored
Otherwise it is not needed because it matches the frame size as encoded in the extradata.
-
Justin Ruggles authored
This avoids an indirection and will simplify implementation of encode2()
-
Justin Ruggles authored
-
Justin Ruggles authored
Gives a better estimate of buffer requirements and a better decision of whether or not to use verbatim mode.
-