aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
Commit message (Collapse)AuthorAgeFilesLines
...
| * | oma: make header compile standaloneDiego Biurrun2011-12-201-1/+6
| | |
| * | mpegts: Suppress invalid timebase warnings on DMB streams.Alex Converse2011-12-201-1/+2
| | | | | | | | | | | | timestamp_len and timestamp_res intialize to zero.
| * | mpegts: Fix typo in handling sections in the PMT.Alex Converse2011-12-201-1/+1
| | | | | | | | | | | | | | | This was an error rebasing 4682a1dc3aa2554ad7077f5db32d0f2d598d018e for commit. The "pes" variable guaranteed to be NULL in that block.
* | | mxfdec: Make sure mxf->nb_index_tables > 0 in mxf_packet_timestamps()Tomas Härdin2011-12-211-0/+5
| | | | | | | | | | | | | | | | | | | | | Only the OPAtom demuxing logic is guaranteed to have index tables, meaning OP1a files that lack an index would cause SIGSEGV. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | Replace PATCHWELCOME by relevant error codes.Nicolas George2011-12-201-1/+1
| | | | | | | | | | | | | | | This supersedes commit 154c0a8. The bug was also reported by Rafaël Carré.
* | | replace ENOTSUP by AVERROR_PATCHWELCOMEMichael Niedermayer2011-12-201-1/+1
| | | | | | | | | | | | | | | | | | | | | This unbreaks compilation Found by: jb Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | roq: fix excessive memory allocMichael Niedermayer2011-12-201-0/+3
| | | | | | | | | | | | | | | | | | | | | Fixes Ticket802 Bug found by: Oana Stratulat Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | avidec: move eof check before continue.Michael Niedermayer2011-12-201-2/+3
| |/ |/| | | | | | | | | | | | | Fixes a infinite loop Fixes half of Ticket800 Bug found by Oana Stratulat Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-12-203-97/+136
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: h264: clear trailing bits in partially parsed NAL units vc1: Handle WVC1 interlaced stream xl: Fix overreads mpegts: rename payload_index to payload_size segment: introduce segmented chain muxer lavu: add AVERROR_BUG error value avplay: clear pkt_temp when pkt is freed. qcelpdec: K&R formatting cosmetics qcelpdec: cosmetics: drop some pointless parentheses x86: conditionally compile dnxhd encoder optimizations Revert "h264: skip start code search if the size of the nal unit is known" swscale: fix formatting and indentation of unscaled conversion routines. h264: skip start code search if the size of the nal unit is known cljr: fix buf_size sanity check cljr: Check if width and height are positive integers Conflicts: libavcodec/cljr.c libavcodec/vc1dec.c libavformat/Makefile libavformat/mpegtsenc.c libavformat/segment.c libswscale/swscale_unscaled.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * mpegts: rename payload_index to payload_sizeLuca Barbato2011-12-191-9/+9
| | | | | | | | It holds the size of the current payload.
| * segment: introduce segmented chain muxerLuca Barbato2011-12-193-0/+275
| | | | | | | | It behaves similarly to image2 muxer
* | siff: simplify code by using ffio_limit()Michael Niedermayer2011-12-191-7/+6
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | soxdec: check av_malloc return.Michael Niedermayer2011-12-191-0/+2
| | | | | | | | | | | | Bug found by: durandal_1707 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | dsicin demuxer: Fix excessive malloc()Michael Niedermayer2011-12-191-0/+3
| | | | | | | | | | | | | | | | use ffio_limit() Fixes Ticket 790 Bug found by: Oana Stratulat Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavf: split out ffio_limit()Michael Niedermayer2011-12-192-4/+10
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-12-198-454/+613
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: APIchanges: fill in revision for AVFrame.age deprecation avcodec: deprecate AVFrame.age 4xm: remove unneeded check for remaining unused data. lavf: force threads to 1 in avformat_find_stream_info() swscale: fix overflows in vertical scaling at top/bottom edges. lavf: add OpenMG audio muxer. omadec: split data that will be used in the muxer to a separate file. lavf: rename oma.c -> omadec.c tmv decoder: set correct pix_fmt Conflicts: Changelog doc/APIchanges libavcodec/mpegvideo.c libavcodec/version.h libavformat/oma.c libavformat/version.h libswscale/swscale.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavf: force threads to 1 in avformat_find_stream_info()Anton Khirnov2011-12-181-0/+5
| | | | | | | | | | Fixes avformat_find_stream_info() on streams with number of frames < thread count.
| * lavf: add OpenMG audio muxer.Michael Karcher2011-12-184-2/+108
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * omadec: split data that will be used in the muxer to a separate file.Anton Khirnov2011-12-184-24/+78
| |
| * lavf: rename oma.c -> omadec.cAnton Khirnov2011-12-182-1/+1
| |
* | rl2demux: Fix FPEMichael Niedermayer2011-12-181-0/+3
| | | | | | | | | | | | | | Fixes Ticket788 Bug found by Oana Stratulat Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'tjoppen/proper_mxf_track_linking'Michael Niedermayer2011-12-181-336/+338
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tjoppen/proper_mxf_track_linking: mxfdec: Don't parse slices or DeltaEntryArrays mxfdec: Remove dead/useless code mxfdec: Hybrid demuxing/seeking solution mxfdec: Add mxf_edit_unit_absolute_offset() mxfdec: Replace zero IndexDurations with st->duration mxfdec: Add "fake" index to MXFIndexTable to assist seeking mxfdec: Add MXFIndexTables mxfdec: Move mxf_read_packet*() near the bottom of the file Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | mxfdec: Don't parse slices or DeltaEntryArraysTomas Härdin2011-12-161-50/+1
| | | | | | | | | | | | The most recent demuxing/seeking code doesn't need them
| * | mxfdec: Remove dead/useless codeTomas Härdin2011-12-161-175/+1
| | |
| * | mxfdec: Hybrid demuxing/seeking solutionTomas Härdin2011-12-161-58/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This uses the old demuxing code for OP1a and separate demuxing code for OPAtom. Timestamp output is added to the old demuxing code. The seeking code is made to seek to the start of the desired EditUnit only, from which the normal demuxing code takes over (if OP1a). This means we don't use delta entries or slices, only StreamOffsets. OPAtom seeking basically works like before. This also makes D-10 seeking behave the same way as OP1a and OPAtom. In other words, we allow seeking before the start or past the end for D-10 too. This fixes ticket #746.
| * | mxfdec: Add mxf_edit_unit_absolute_offset()Tomas Härdin2011-12-161-0/+49
| | | | | | | | | | | | | | | This maps an EditUnit in an index table to the corresponding absolute offset in the file.
| * | 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.
* | | siff: Fix excessive memory allocation.Michael Niedermayer2011-12-181-0/+5
| | | | | | | | | | | | | | | | | | Bug found by: Oana Stratulat Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | mov: detect EOF in mov_read_dref()Michael Niedermayer2011-12-181-0/+2
| | | | | | | | | | | | | | | | | | | | | This fixes a (near) infinite loop and Ticket783 Bug found by: cosminamironesei Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | sbgdec: change -1 into AVERROR(EINVAL).Nicolas George2011-12-181-1/+1
| | | | | | | | | | | | | | | This is not as accurate as ELOOP, but there is an explicit error message just before anyway.
* | | sbgdec: Replace ELOOP by -1 to fix compilation on win32.Michael Niedermayer2011-12-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | This should be replaced by a more appropriate error code of course but we should not leave compilation broken until that is decided. Found-by: jb Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | sbgdec: replace EOVERFLOW with ENOMEM.Nicolas George2011-12-171-1/+1
| | | | | | | | | | | | | | | This should fix track issue #781, regarding compilation with i686-w64-mingw32-gcc.
* | | avienc: Fix rawvideo 32bitMichael Niedermayer2011-12-171-1/+1
| | | | | | | | | | | | | | | | | | | | | Bug found by: Rik Maes <rik.maes54@gmail.com> Change based on suggestion by Rik Maes Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-12-171-3/+3
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: get_bits: remove A32 variant avconv: support stream specifiers in -metadata and -map_metadata wavpack: Fix 32-bit clipping wavpack: Clip samples after shifting h264: don't drop B-frames after next keyframe on POC reset. get_bits: remove useless pointer casts configure: refactor lists of tests and components into variables rv40: NEON optimised weak loop filter mpegts: replace some magic numbers with the existing define swscale: add unscaled packed 16 bit per component endianess conversion Conflicts: libavcodec/get_bits.h libavcodec/h264.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | mpegts: replace some magic numbers with the existing defineVladimir Pantelic2011-12-161-3/+3
| | | | | | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* | | mtvdemuxer: fix segfault caused by truncated packets.Michael Niedermayer2011-12-161-1/+1
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | lavf: print an error if a packet has been truncated due to filesizeMichael Niedermayer2011-12-161-2/+4
| | | | | | | | | | | | | | | | | | in av_get_packet() Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | txd/westwood: remove demuxer specific overallocate solutions as the new ↵Michael Niedermayer2011-12-162-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | generic code handles it fine. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | lavf: Update AVIOContext.maxsize when hitting the end.Michael Niedermayer2011-12-161-3/+10
| |/ |/| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | 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>