- 17 Sep, 2012 4 commits
-
-
Michael Niedermayer authored
* qatar/master: avconv: flush filtered frames before reconfiguring filters mov: stsd entries must be at least 16 byte mov: detect EOF in mov_read_dref() file: return proper error on seek failures Conflicts: libavformat/file.c libavformat/mov.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
-
Stefano Sabatini authored
-
Stefano Sabatini authored
According to POSIX, strptime() should consume whitespaces in the date string everytime a whitespace conversion specification is found in the date format specification. Make av_small_strptime() conform with this behavior. In particular, should fix trac ticket #1739.
-
Janne Grunau authored
This prevents lost frames after a resolution change.
-
- 16 Sep, 2012 29 commits
-
-
Michael Niedermayer authored
* cus/stable: ffplay: dont wait 100ms if data is not yet ready Merged-by: Michael Niedermayer <michaelni@gmx.at>
-
Marton Balint authored
Also signal the wait if audio buffer is empty. This fixes jerky audio with realtime sources. Signed-off-by: Marton Balint <cus@passwd.hu>
-
Michael Niedermayer authored
Fix Suggested-by: Reimar Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Clément Bœsch authored
-
Clément Bœsch authored
-
Clément Bœsch authored
Also re-use the allocated buffer instead of re-allocating a new one.
-
Clément Bœsch authored
-
Clément Bœsch authored
-
Michael Niedermayer authored
Fix near infinite loop in stsd parsing. Bug found by: Diana Elena Muscalu The size is unsigned according the specification. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
Clément Bœsch authored
nstreams is assumed to be 1 at that point, so the loop is pointless.
-
Clément Bœsch authored
"str" is misleading here (it's often used for string). "sid" makes more sense to identify a stream id.
-
Clément Bœsch authored
-
Clément Bœsch authored
There is no point in a distant definition of a small function like this used only once. Additional spacing to distinguish better the block.
-
Carl Eugen Hoyos authored
Fixes compilation with XCode 3.2.6. Fixes ticket #1736.
-
Carl Eugen Hoyos authored
-
Michael Niedermayer authored
Avoid a near infinite loop. Issue discovered by cosminamironesei. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
Luca Barbato authored
-
Michael Niedermayer authored
* qatar/master: mpegvideo: drop unnecessary arguments to hpel_motion() mpegvideo: drop 'inline' from some functions nellymoserdec: drop support for s16 output. bmpdec: only initialize palette for pal8. build: Properly remove object files while cleaning flacdsp: arm optimised lpc filter compat/vsnprintf: return number of bytes required on truncation. Merged-by: Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
* commit '3f7fd59d': avformat: fix typo in avformat_close_input mp3enc: write Xing TOC mp3enc: support MPEG-2 and MPEG-2.5 in Xing header. mp3enc: downgrade some errors in writing Xing frame to warnings lavf: flush the output AVIOContext in av_write_trailer(). lavf: cosmetics, reformat av_write_trailer(). avio: flush the internal buffer in avio_close() Enhance doc on asyncts audiofilter cmdutils: avoid setting data pointers to invalid values in alloc_buffer() libavcodec: remove av_destruct_packet_nofree() Conflicts: libavcodec/avpacket.c libavformat/mp3enc.c libavformat/nutenc.c libavformat/utils.c libavformat/version.h tests/ref/lavf/voc tests/ref/lavf/voc_s16 Merged-by: Michael Niedermayer <michaelni@gmx.at>
-
Mans Rullgard authored
These arguments are either constants or copies of MpegEncContext fields just as easily accessed within the function. Signed-off-by: Mans Rullgard <mans@mansr.com>
-
Mans Rullgard authored
These functions do not benefit from being inlined. They are large, and there are no opportunities for constant propagation. Signed-off-by: Mans Rullgard <mans@mansr.com>
-
Anton Khirnov authored
It internally decodes as float and then converts to s16 by a call to float_to_int16(). The caller can do this just as well by using lavr.
-
Anton Khirnov authored
Gray8 is not considered to be paletted, so this would cause an invalid write. Fixes bug 367. CC: libav-stable@libav.org
-
Clément Bœsch authored
-
Clément Bœsch authored
-
Clément Bœsch authored
-
Clément Bœsch authored
-
- 15 Sep, 2012 7 commits
-
-
Hendrik Leppkes authored
Some implementations of sscanf do not handle a space before a trailing %n properly. As an example, MSVC's does this for the second insatnce in this patch, for an input of "0x3:c0=c1:c1=c0": 1) Match the final "c0" or "c1". 2) Realize it's at the end of the string. 3) Check for %n. 4) There is no %n, but a space instead. 5) Leave 'len' unitilialized. So, move it out of the sscanf format strings, and call skip_spaces instead. This bug does not affect skip_spaces since %n is the first and only formatting string. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-
Derek Buitenhuis authored
A proper implementation was introduced in ba537202 for MSVC, and MinGW already has vsnprintf. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-
Ronald S. Bultje authored
This conforms to C99, but requires Windows >= XP.
-
Derek Buitenhuis authored
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-
Derek Buitenhuis authored
MSVC-built binaries should not be stripped. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-
Mans Rullgard authored
Previously, object files in, for example, compat/ were left after a clean or distclean was run. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-
Mans Rullgard authored
-