aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
Commit message (Collapse)AuthorAgeFilesLines
* mxfdec: Replace zero IndexDurations with st->durationTomas Härdin2011-12-161-2/+28
| | | | The mxf_d10 muxer outputs files with zero IndexDurations..
* mxfdec: Add "fake" index to MXFIndexTable to assist seekingTomas Härdin2011-12-161-20/+28
| | | | | | This changes mxf_compute_ptses() to be used for MXFIndexTable, and also adds code for computing the fake index to it. This also temporarily disables PTS computation. A future patch will restore it.
* mxfdec: Add MXFIndexTablesTomas Härdin2011-12-161-0/+97
| | | | | This structs collects MXFIndexTableSegments belonging to one IndexSID and some other bits of useful information.
* mxfdec: Move mxf_read_packet*() near the bottom of the fileTomas Härdin2011-12-161-111/+111
| | | | This simplifies future commits.
* avidec: Check that the header chunks fit in the available filesize.Michael Niedermayer2011-12-161-0/+5
| | | | | | | Fixes Ticket771 Bug found by: Diana Elena Muscalu Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* txddemux: Limit allocated packets to filesize.Michael Niedermayer2011-12-161-0/+3
| | | | | | | Fixes Ticket772 Bug found by: Diana Elena Muscalu Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* thp: simplify overallocate checks.Michael Niedermayer2011-12-161-13/+3
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavf: add internal AVIOContext.maxsizeMichael Niedermayer2011-12-162-1/+15
| | | | | | This allows simple and generic limiting of allocations used for packets. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* thpdemux: Check that packed sizes are within the files data size and filesize.Michael Niedermayer2011-12-161-3/+16
| | | | | | | Fixes Ticket774 Bug found by: Diana Elena Muscalu Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avidec: Fix infinite loop caused by rounding of timestamps in non ↵Michael Niedermayer2011-12-161-1/+1
| | | | | | | | | interleaved avis. Fixes Ticket775 Bug found by: Diana Elena Muscalu Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* movenc: disable iods by defaultMichael Niedermayer2011-12-161-1/+1
| | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Approved-by: MP4_maniac Approved-by: Baptiste Coudurier
* smackerdemuxer: check some values before instead of just after malloc()Michael Niedermayer2011-12-161-1/+5
| | | | | | | Fixes Ticket777 Bug Found by: Diana Elena Muscalu Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* westwooddemux: dont require avio_size() functionality.Michael Niedermayer2011-12-161-1/+1
| | | | | | Found by reimar Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-12-164-11/+40
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: movenc: Rudimentary IODs support. v410enc: fix output buffer size check v410enc: include correct headers fate: add -pix_fmt rgb48le to r210 test flvenc: Support muxing 16 kHz nellymoser configure: refactor list of programs into a variable fate: add r210 decoder test fate: split off Indeo FATE tests into their own file fate: split off ATRAC FATE tests into their own file fate: Add FATE tests for v410 encoder and decoder ARM: fix external symbol refs in rv40 asm westwood: Make sure audio header info is present when parsing audio packets libgsm: Reset the MS mode of GSM in the flush function libgsm: Set options on the right object ARM: dca: disable optimised decode_blockcodes() for old gcc Conflicts: configure libavformat/movenc.c libavformat/movenc.h tests/fate2.mak tests/ref/acodec/alac tests/ref/vsynth1/mpeg4 tests/ref/vsynth2/mpeg4 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * movenc: Rudimentary IODs support.Alex Converse2011-12-152-11/+31
| |
| * flvenc: Support muxing 16 kHz nellymoserMartin Storsjö2011-12-151-0/+3
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * westwood: Make sure audio header info is present when parsing audio packetsShitiz Garg2011-12-151-0/+5
| | | | | | | | | | | | | | | | | | | | Audio header information might get scrambled and would not parse, yet wsqva_read_packet would try to parse audio packets causing segfaults such as floating point exception. Fixes bugzilla #141. Signed-off-by: Martin Storsjö <martin@martin.st>
* | lavf: update rfps debug code.Michael Niedermayer2011-12-151-2/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavf: Fix fps misdetection when codec_info_duration is 0 and only a few ↵Michael Niedermayer2011-12-151-0/+2
| | | | | | | | | | | | frames are used to estimate fps. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mov: Fix near infinite loop in stsd parsing.Michael Niedermayer2011-12-151-0/+3
| | | | | | | | | | | | | | Fixes Ticket768 Bug found by: Diana Elena Muscalu Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | westwooddemuxer: use av_get_packet()Michael Niedermayer2011-12-151-6/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | westwooddemuxer: Fix 1gb allocMichael Niedermayer2011-12-151-0/+7
| | | | | | | | | | | | | | Fixes Ticket765 Bug Found by: Diana Elena Muscalu Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavf: add SBG demuxer.Nicolas George2011-12-154-1/+1521
| |
* | mtv: Fix FPE with 0 dimensions.Michael Niedermayer2011-12-151-2/+12
| | | | | | | | | | | | | | Fixes Ticket755 Bug Found by: Diana Elena Muscalu Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-12-141-2/+9
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (23 commits) applehttp: Properly clean up if unable to probe a segment applehttp: Avoid reading uninitialized memory fate: Replace misleading "aac" in the name of an ADTS test with "adts". fate: Drop pointless "-an" from pictor test command. fate: split off image codec FATE tests into their own file fate: split off WMA codec FATE tests into their own file fate: split off lossless video and audio FATE tests into their own files fate: split off qtrle codec FATE tests into their own file fate: split off Ut Video codec FATE tests into their own file fate: split off screen codec FATE tests into their own file fate: split off Real Inc. codec FATE tests into their own file fate: split off AC-3 codec FATE tests into their own file mpegvideo: remove abort() in ff_find_unused_picture() rv40: NEON optimised loop filter strength selection rv40: rearrange loop filter functions configure: cosmetics: sort some lists where appropriate swscale_mmx: drop no longer required parameters from VSCALEX macros swscale: Mark yuv2planeX_8_mmx as MMX2; it contains MMX2 instructions. build: conditionally compile x86 H.264 chroma optimizations v410 encoder and decoder ... Conflicts: Changelog configure doc/developer.texi doc/general.texi libavcodec/arm/asm.S libavcodec/avcodec.h libavcodec/v410dec.c libavcodec/v410enc.c libavcodec/version.h libavcodec/x86/Makefile libavcodec/x86/dsputil_mmx.c libswscale/x86/swscale_mmx.c tests/Makefile tests/fate2.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * applehttp: Properly clean up if unable to probe a segmentMartin Storsjö2011-12-141-1/+8
| | | | | | | | | | | | | | | | | | This avoids a segfault if the probe function wasn't able to determine the format. The bug was found by Panagiotis H.M. Issaris. Signed-off-by: Martin Storsjö <martin@martin.st>
| * applehttp: Avoid reading uninitialized memoryMartin Storsjö2011-12-141-1/+1
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * v410 encoder and decoderDerek Buitenhuis2011-12-132-0/+2
| | | | | | | | | | | | | | | | v410 is a packed 10-bit 4:4:4 YCbCr format used in QuickTime. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* | riff: Fix freeing of random value.Michael Niedermayer2011-12-141-2/+1
| | | | | | | | | | Fixes Ticket752 Bug-found-by: Diana Elena Muscalu
* | Prevent segfault if iformat was not yet initialized.Panagiotis H.M. Issaris2011-12-141-2/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Cosmetics: Improve 'too short LIST' error message in wav.c.Carl Eugen Hoyos2011-12-141-1/+1
| |
* | Do not reject LIST tags in wav with size 4.Carl Eugen Hoyos2011-12-141-1/+1
| | | | | | | | Fixes ticket #745.
* | Detect 'yuv2' as rawvideo also in avi.Carl Eugen Hoyos2011-12-141-0/+1
| |
* | v410 encoder and decoderDerek Buitenhuis2011-12-142-0/+2
| | | | | | | | | | | | | | | | v410 is a packed 10-bit 4:4:4 YCbCr format used in QuickTime. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-12-132-3/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: ulti: Fix invalid reads lavf: dealloc private options in av_write_trailer yadif: support 10bit YUV vc1: mark with ER_MB_ERROR bits overconsumption lavc: introduce ER_MB_END and ER_MB_ERROR error_resilience: use the ER_ namespace build: move inclusion of subdir.mak to main subdir loop rv34: NEON optimised 4x4 dequant rv34: move 4x4 dequant to RV34DSPContext aacdec: Use intfloat.h rather than local punning union. Conflicts: libavcodec/h264.c libavcodec/vc1dec.c libavfilter/vf_yadif.c libavformat/Makefile Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavf: dealloc private options in av_write_trailerLuca Barbato2011-12-131-1/+1
| | | | | | | | Fix the iformat/oformat typo.
| * build: move inclusion of subdir.mak to main subdir loopMans Rullgard2011-12-131-2/+0
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* | Support "VLB " audio in NSV files.Reimar Döffinger2011-12-131-0/+1
| | | | | | | | | | | | See samples/nsv/vlb_audio. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | clenaup: #ifdec CONFIG*Michael Niedermayer2011-12-131-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Fix all GNU %LdMichael Niedermayer2011-12-132-2/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mp4enc: Avoid storing sizes in trun when they all match.Michael Niedermayer2011-12-132-2/+4
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mp4enc: Only store flags in trun when they differ from the default and set a ↵Michael Niedermayer2011-12-132-2/+6
| | | | | | | | | | | | sane default. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mp4enc: dont store durations in trun if they are unneeded.Michael Niedermayer2011-12-131-1/+5
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mp4enc: dont store cts in trun if they are unneeded.Michael Niedermayer2011-12-131-1/+4
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-12-1314-224/+356
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: doxygen: misc consistency, spelling and wording fixes vcr1: drop unnecessary emms_c() calls without MMX code Replace all uses of av_close_input_file() with avformat_close_input(). lavf: add avformat_close_input(). lavf: deprecate av_close_input_stream(). lavf doxy: add some basic demuxing documentation. lavf doxy: add some general lavf information. lavf doxy: add misc utility functions to a group. lavf doxy: add av_guess_codec/format to the encoding group. lavf doxy: add core functions to a doxy group. Add basic libavdevice documentation. lavc: convert error_recognition to err_recognition. avconv: update -map option help text x86: Require 7 registers for the cabac asm x86: bswap: remove test for bswap instruction bswap: make generic implementation more compiler-friendly h264: remove useless cast proresdec: fix decode_slice() prototype Conflicts: configure doc/APIchanges ffprobe.c libavcodec/avcodec.h libavcodec/celp_math.h libavcodec/h264.c libavfilter/src_movie.c libavformat/anm.c libavformat/avformat.h libavformat/version.h libavutil/avstring.h libavutil/bswap.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * doxygen: misc consistency, spelling and wording fixesDiego Biurrun2011-12-124-8/+8
| |
| * Replace all uses of av_close_input_file() with avformat_close_input().Anton Khirnov2011-12-128-10/+8
| |
| * lavf: add avformat_close_input().Anton Khirnov2011-12-123-1/+23
| | | | | | | | | | | | | | It sets the supplied AVFormatContext pointer to NULL after freeing it, which is safer and its name is consistent with other lavf functions. Also deprecate av_close_input_file().
| * lavf: deprecate av_close_input_stream().Anton Khirnov2011-12-125-9/+17
| | | | | | | | And remove all its uses.
| * lavf doxy: add some basic demuxing documentation.Anton Khirnov2011-12-121-0/+38
| |