aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | dvbsubdec: Fix "set but not used" warningMichael Niedermayer2012-03-301-1/+1
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | libavformat: Fix several "incompatible pointer type" warnings.Michael Niedermayer2012-03-301-1/+1
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | cavsdec: ensure the tables have been allocated before using themMichael Niedermayer2012-03-301-0/+2
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-03-305-36/+41
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: mp3dec: perform I/S and M/S only when frame mode is joint stereo. id3v2: add another mimetype for JPEG image lzw: prevent buffer overreads. WMAL: Remove inaccurate and unnecessary doxy h264: fix cabac-on-stack after safe cabac reader. truemotion2: convert packet header reading to bytestream2. Conflicts: libavcodec/lzw.c libavcodec/truemotion2.c libavformat/id3v2.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | mp3dec: perform I/S and M/S only when frame mode is joint stereo.Kostya Shishkov2012-03-291-1/+1
| | | | | | | | | | | | | | | | | | Looks like some LAME versions produce dual stereo mode MP3s with flags for intensity and middle stereo set. In this mode those flags should be ignored like the reference decoder and derived ones do.
| * | id3v2: add another mimetype for JPEG imageKostya Shishkov2012-03-291-0/+1
| | |
| * | lzw: prevent buffer overreads.Ronald S. Bultje2012-03-281-3/+8
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * | WMAL: Remove inaccurate and unnecessary doxyMashiat Sarker Shakkhar2012-03-291-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | A call to decode_packet() does not always decode a complete WMA packet. Moreover, this is not the correct place to document calls that are part of the public API. Signed-off-by: Diego Biurrun <diego@biurrun.de>
| * | h264: fix cabac-on-stack after safe cabac reader.Ronald S. Bultje2012-03-281-0/+1
| | |
| * | truemotion2: convert packet header reading to bytestream2.Ronald S. Bultje2012-03-281-23/+31
| | | | | | | | | | | | | | | | | | | | | | | | Also use correct buffer sizes in calls to tm2_read_stream(). Together, this prevents overreads. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* | | img2dec: remove GLOB_TILDE support.Michael Niedermayer2012-03-301-7/+1
| | | | | | | | | | | | | | | | | | | | | tilde expansion should/can be done by the shell Reviewed-by: Alexander Strasser <eclipse7@gmx.net> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | img2dec: Recognize glob meta chars only if prefixed by %Alexander Strasser2012-03-301-2/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changes globbing support to only be used if the character contains at least one glob meta character that is preceded by an unescaped %. To escape a literal % one would use %% which is identical to the way to match a % with image2 sequence generation feature. * Makes it possible to have patterns like %04d-[720p].jpg work again with sequence number generation. Previously this would always be detected as a glob pattern and was interpreted by the image2 glob code instead. * Makes it possible to use %*-[720p].jpg to match above pattern without having to double escape it to be not interpreted by most shells and not by the image2 glob code (previously one would need to use \*-\\\[720p\\\].jpg to achieve the same) Signed-off-by: Alexander Strasser <eclipse7@gmx.net> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | img2: glob matching for image seriesBrian Olson2012-03-303-3/+77
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | ffmpeg: check pts like dts for being in the past.Michael Niedermayer2012-03-291-1/+2
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | lavf: print ts values in pts < dts error messageMichael Niedermayer2012-03-291-1/+1
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | ffmpeg: switch duration calculation code from avg to r frame_rate.Michael Niedermayer2012-03-291-1/+3
| | | | | | | | | | | | | | | | | | This heuristic is less likely to overshoot and cause encoder failure. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | Do not try to use lowres for unusual jpg subsampling.Carl Eugen Hoyos2012-03-291-0/+4
| | | | | | | | | | | | Fixes ticket #1144.
* | | Revert "Fix compilation with hardcoded tables."Carl Eugen Hoyos2012-03-291-1/+0
| | | | | | | | | | | | This reverts commit b17b2963692f5f7c19a2188e61922e00680c5fb4.
* | | fate/vp8-size-change: set bitexact flagMichael Niedermayer2012-03-292-28/+28
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | ffmpeg: pass bitexact flag to vsrc_bufferMichael Niedermayer2012-03-291-2/+2
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | iff: prevent a possible crash with broken/prepared IFF PBMPiotr Bandurski2012-03-291-1/+4
| | | | | | | | | | | | | | | | | | Based on fix by Peter Ross for ticket #1054. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | Merge git://github.com/mjbshaw/FFmpeg-OpenJPEG-J2K-EncoderMichael Niedermayer2012-03-291-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * git://github.com/mjbshaw/FFmpeg-OpenJPEG-J2K-Encoder: Fixes ticket 1127. I'm still looking into why bpp is getting set to 0. Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | | Fixes ticket 1127.Michael Bradshaw2012-03-281-1/+1
| | | | | | | | | | | | | | | | I'm still looking into why bpp is getting set to 0.
* | | | ffmpeg: dont disable dr1 when changing dimensions are encountered in ↵Michael Niedermayer2012-03-291-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | codec_get_buffer(). Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | | ffmpeg: disable dr1 when frame sizes change.Michael Niedermayer2012-03-291-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dr1 seems to work fine with frame size changes but many filters cant handle it yet. Simply disabling it forces the alternative non dr1 code path which has been tested more completely and is known to handle frame size changes in a wider varity of cases. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | | avfilter: set w/h in avfilter_fill_frame_from_video_buffer_ref().Michael Niedermayer2012-03-291-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | This fixes issues with AVFrame w/h being wrong in some cases Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-03-2960-293/+604
|\ \ \ \ | |/ / / |/| / / | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: asf: only set index_read if the index contained entries. cabac: add overread protection to BRANCHLESS_GET_CABAC(). cabac: increment jump locations by one in callers of BRANCHLESS_GET_CABAC(). cabac: remove unused argument from BRANCHLESS_GET_CABAC_UPDATE(). cabac: use struct+offset instead of memory operand in BRANCHLESS_GET_CABAC(). h264: add overread protection to get_cabac_bypass_sign_x86(). h264: reindent get_cabac_bypass_sign_x86(). h264: use struct offsets in get_cabac_bypass_sign_x86(). h264: fix overreads in cabac reader. wmall: fix seeking. lagarith: fix buffer overreads. dvdec: drop unnecessary dv_tablegen.h #include build: fix doc generation errors in parallel builds Replace memset(0) by zero initializations. faandct: Remove FAAN_POSTSCALE define and related code. dvenc: print allowed profiles if the video doesn't conform to any of them. avcodec_encode_{audio,video}: only reallocate output packet when it has non-zero size. FATE: add a test for vp8 with changing frame size. fate: add kgv1 fate test. oggdec: calculate correct timestamps in Ogg/FLAC Conflicts: libavcodec/4xm.c libavcodec/cook.c libavcodec/dvdata.c libavcodec/dvdsubdec.c libavcodec/lagarith.c libavcodec/lagarithrac.c libavcodec/utils.c tests/fate/video.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | asf: only set index_read if the index contained entries.Ronald S. Bultje2012-03-281-1/+1
| | | | | | | | | | | | | | | This allows falling back to a binary search if the file contains no index, thus fixing seeking in such files (e.g. luckynight.wma).
| * | cabac: add overread protection to BRANCHLESS_GET_CABAC().Ronald S. Bultje2012-03-282-11/+22
| | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
| * | cabac: increment jump locations by one in callers of BRANCHLESS_GET_CABAC().Ronald S. Bultje2012-03-281-12/+12
| | |
| * | cabac: remove unused argument from BRANCHLESS_GET_CABAC_UPDATE().Ronald S. Bultje2012-03-281-3/+3
| | |
| * | cabac: use struct+offset instead of memory operand in BRANCHLESS_GET_CABAC().Ronald S. Bultje2012-03-282-20/+22
| | |
| * | h264: add overread protection to get_cabac_bypass_sign_x86().Ronald S. Bultje2012-03-281-3/+5
| | |
| * | h264: reindent get_cabac_bypass_sign_x86().Ronald S. Bultje2012-03-281-22/+22
| | |
| * | h264: use struct offsets in get_cabac_bypass_sign_x86().Ronald S. Bultje2012-03-281-8/+11
| | |
| * | h264: fix overreads in cabac reader.Ronald S. Bultje2012-03-281-2/+4
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * | wmall: fix seeking.Ronald S. Bultje2012-03-281-0/+13
| | |
| * | lagarith: fix buffer overreads.Ronald S. Bultje2012-03-282-25/+54
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * | dvdec: drop unnecessary dv_tablegen.h #includeDiego Biurrun2012-03-281-1/+0
| | | | | | | | | | | | | | | dvdec.c uses nothing from dv_tablegen.h. As a welcome side-effect, this fixes compilation of that file with hardcoded tables enabled.
| * | build: fix doc generation errors in parallel buildsMans Rullgard2012-03-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The $(dir) function used to construct OBJDIRS includes a trailing slash in the names returned, which GNU make 3.82 does not match to the slash-less 'doc' in the documentation dependencies, causing parallel build to fail. Adding a slash fixes this and still works with make 3.81. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * | Replace memset(0) by zero initializations.Diego Biurrun2012-03-2839-144/+66
| | | | | | | | | | | | Also remove one pointless zero initialization in rangecoder.c.
| * | faandct: Remove FAAN_POSTSCALE define and related code.Diego Biurrun2012-03-284-50/+22
| | | | | | | | | | | | It is not a user-accessible option and unlikely to ever be changed.
| * | dvenc: print allowed profiles if the video doesn't conform to any of them.Anton Khirnov2012-03-283-2/+21
| | |
| * | avcodec_encode_{audio,video}: only reallocate output packet when it has ↵Anton Khirnov2012-03-281-2/+2
| | | | | | | | | | | | | | | | | | | | | non-zero size. Otherwise realloc would free it, which would result in double free later.
| * | FATE: add a test for vp8 with changing frame size.Anton Khirnov2012-03-282-0/+35
| | |
| * | fate: add kgv1 fate test.Ronald S. Bultje2012-03-272-0/+317
| | | | | | | | | | | | Tested to be bit-exact across x86-64, x86-32 and ppc.
| * | oggdec: calculate correct timestamps in Ogg/FLACJustin Ruggles2012-03-271-0/+1
| | | | | | | | | | | | | | | We need to parse the individual packet durations when there is more than one packet in a page.
* | | doc/ffmpeg: update and extend documentation for -copytbStefano Sabatini2012-03-282-3/+25
| | | | | | | | | | | | Address trac ticket #1120.
* | | ass: fix aspect ratio computation.Nicolas George2012-03-283-16/+16
| | |
* | | indeo4: Dont leave tables in random state on errors.Michael Niedermayer2012-03-281-2/+4
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>