aboutsummaryrefslogtreecommitdiff
path: root/libavformat
AgeCommit message (Collapse)Author
2011-09-14[yop] Check return value of avio_seek and avoid modifying state if it failsJoakim Plate
2011-09-14[wtv] Check return value of avio_seek and avoid modifying state if it failsJoakim Plate
2011-09-14[tta] Check return value of avio_seek and avoid modifying state if it failsJoakim Plate
2011-09-14[tmv] Check return value of avio_seek and avoid modifying state if it failsJoakim Plate
2011-09-14[r3d] Check return value of avio_seek and avoid modifying state if it failsJoakim Plate
2011-09-14[nsv] Check return value of avio_seek and avoid modifying state if it failsJoakim Plate
2011-09-14[mxfdec] Check return value of avio_seek and avoid modifying state if it failsJoakim Plate
2011-09-14[mpc8] Check return value of avio_seek and avoid modifying state if it failsJoakim Plate
2011-09-14[jvd] Check return value of avio_seek and avoid modifying state if it failsJoakim Plate
2011-09-14[filmstrip] Check return value of avio_seek and avoid modifying state if it ↵Joakim Plate
fails
2011-09-14[ffmdec] Check return value of avio_seek and avoid modifying state if it failsJoakim Plate
2011-09-14[dv] Check return value of avio_seek and avoid modifying state if it failsJoakim Plate
2011-09-14[cafdec] Check return value of avio_seek and avoid modifying state if it failsJoakim Plate
2011-09-14[bink] Check return value of avio_seek and avoid modifying state if it failsJoakim Plate
2011-09-14make mpegts_get_pcr resync if it's not on a valid mpegts packetelupus
2011-09-14cosmetic reindent of mpegts_get_pcrelupus
2011-09-14check return value of url_fseek in mpegts_get_pcrelupus
2011-09-14respect the maximum position mpegts_get_pcr is allowed to seek toelupus
2011-09-14remove unused code in mpegts_get_pcrelupus
2011-09-14wtvenc: add some asserts because iam paranoidMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-14WTV muxer (2_wtvenc.patch, 3_add_wtv_muxer.patch)zhentan feng
2011-09-13libavformat/utils: print ts in the "invalid dts/pts combination" case.Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-12asf: only try to read asf index onceJoakim Plate
This avoid retrying to read ASF index in files for every attempt to seek. This makes a big difference to protocols with slow seeking (for example http) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-12segafilm: Fix potential division by 0 on corrupted segafilm streams in the ↵Laurent Aimar
demuxer. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-12segafilm: Check for memory allocation failures in segafilm demuxer.Laurent Aimar
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-12Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: adpcm: split ADPCM encoders and decoders into separate files. doc/avconv: fix typo. rv34: check that subsequent slices have the same type as first one. smacker demuxer: handle possible av_realloc() failure. lavfi: add split filter from soc. lavfi: add showinfo filter libxavs: add private options corresponding to deprecated global options Conflicts: Changelog libavcodec/adpcm.c libavfilter/avfilter.h libavfilter/vf_showinfo.c libavfilter/vf_split.c libavformat/smacker.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-12mxfdec: skip to end of structural sets This fixes reading of partition ↵Philip de Nier
packs. The code stops reading after the operational pattern and should skip the array of essence container labels that follow
2011-09-12smacker demuxer: handle possible av_realloc() failure.Kostya Shishkov
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-09-12rmdec: Check return value of more avio_seek callsJoakim Plate
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-12avidec: Check return value of more avio_seek callsJoakim Plate
The move of avio_seek in avi_read_seek is to avoiding modifying state if the seek would fail. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-12asf: Check return value of more avio_seek callsJoakim Plate
This reduces problems when underlying protocol is not seekable even if marked as such or if the file has been cut short. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-12Fix writes out of bounds in the ogg demuxer.Laurent Aimar
Between ogg_save() and ogg_restore() calls, the number of streams could have been reduced. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-12Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: (31 commits) audioconvert: add explanatory comments to channel_names array audioconvert: K&R whitespace cosmetics avconv: use correct index when selecting metadata to write to. avconv: fix inverted variable doc/avconv: document option types (input/output/per-stream/...) doc/avtools-common-opts: write a section about stream specifiers. doc/avconv: remove two pointless paragraphs. doc/avconv: document that global options should be specified first. doc/avconv: remove entries for nonexistent options doc/avconv: remove documentation for removed 'timestamp' option doc: cosmetics, rename fftools-common-opts to avtools-.... avconv: move streamid_map to options context. avconv: extend -vf syntax avconv: move top_field_first to options context. avconv: move inter/intra matrix to options context. avconv: remove -psnr option. avconv: remove me_threshold option. avconv: move video_rc_override_string to options context. avconv: move frame pixel format to the options context. avconv: move frame aspect ratio to the options context. ... Conflicts: avconv.c cmdutils_common_opts.h doc/avconv.texi Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-11Fixed segfault on corrupted smacker streams in the demuxer.Laurent Aimar
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-11Fixed segfault on memory allocation failure in ape demuxer.Laurent Aimar
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-11mpegts: When playing mpegts over rtp/rtsp/sdp, lavf must still read PAT/SDT ↵Joakim Plate
to get available streams The code path using for mpegts over rtp doesn't open the demuxer using mpegts_read_header, so it never starts listening for PAT/SDT, only uses auto_guess Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-11Fix for some non interleaved avi files that gets played twice or won't endJoakim Plate
This changes so we assume EOF when we can't find the next streams index entry for non interleaved file. http://trac.xbmc.org/ticket/5585 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-11Allow reading of growing avi files (ie currently being written)Joakim Plate
This uses the RIFF header stored size to figure out the expected AVI file size, instead of the actual file. To work fully it requires handling failed avio_seek() instead of assuming they always succeed. Some fate file has been cut off and contains half a frame at the end which previously was not output during demuxing. This frame is now output to encoder, thus fate diff update.
2011-09-11mpegts: improve error reportingGeorgi Chorbadzhiyski
When reporting continuity error show pid, expected and received cc. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2011-09-11mpegts: on seek, reset the cc for all PIDsAviad Rozenhek
Prevent false positive continuity counter error logs. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2011-09-11mpegts: update comment to match codeMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-11libavformat/utils: Only require first packet to be known for all audio and ↵Joakim Plate
video streams It can take a long time before subtitles or data streams show up, so we shouldn't wait for those before assuming we have all info for streams. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-10mpegts: Some additional HDMV types and reg descriptors for mpegtsJoakim Plate
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-10avisynth: Fix upside down bugchinshou
2011-09-10avisynth: Remove wrong pts calculation.chinshou
Fixes Ticket428
2011-09-10Fixed size given to init_get_bits().Laurent Aimar
init_get_bits() takes a number of bits and not a number of bytes as its size argument. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-09av_interleave_packet_per_dts: switch noninterleaved flushing logic to max dts.Wolfram Gloger
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-09asfenc: fix assert failure on long ffserver runsChiranjeevi Melam
2011-09-08Prevent double free of side_data when AVFMT_FLAG_KEEP_SIDE_DATA flag is setGavin Kinsey
2011-09-08Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: Employ FF_ARRAY_ELEMS instead of manually calculating array length. Fixed invalid access in wavpack decoder on corrupted bitstream. Fixed invalid writes in wavpack decoder on corrupted bitstreams. Fixed invalid access in wavpack decoder on corrupted extra bits sub-blocks. rtpdec_asf: Fix integer underflow that could allow remote code execution Conflicts: libavformat/rtpdec_asf.c Merged-by: Michael Niedermayer <michaelni@gmx.at>