summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
* libavformat/utils: print ts in the "invalid dts/pts combination" case.Michael Niedermayer2011-09-13
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* asf: only try to read asf index onceJoakim Plate2011-09-12
| | | | | | | | 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>
* segafilm: Fix potential division by 0 on corrupted segafilm streams in the ↵Laurent Aimar2011-09-12
| | | | | | demuxer. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* segafilm: Check for memory allocation failures in segafilm demuxer.Laurent Aimar2011-09-12
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-09-12
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
| * smacker demuxer: handle possible av_realloc() failure.Kostya Shishkov2011-09-12
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | mxfdec: skip to end of structural sets This fixes reading of partition ↵Philip de Nier2011-09-12
| | | | | | | | packs. The code stops reading after the operational pattern and should skip the array of essence container labels that follow
* | rmdec: Check return value of more avio_seek callsJoakim Plate2011-09-12
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avidec: Check return value of more avio_seek callsJoakim Plate2011-09-12
| | | | | | | | | | | | | | 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>
* | asf: Check return value of more avio_seek callsJoakim Plate2011-09-12
| | | | | | | | | | | | | | | | 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>
* | Fix writes out of bounds in the ogg demuxer.Laurent Aimar2011-09-12
| | | | | | | | | | | | | | Between ogg_save() and ogg_restore() calls, the number of streams could have been reduced. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-09-12
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
| * mpegts: improve error reportingGeorgi Chorbadzhiyski2011-09-11
| | | | | | | | | | | | When reporting continuity error show pid, expected and received cc. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
| * mpegts: on seek, reset the cc for all PIDsAviad Rozenhek2011-09-11
| | | | | | | | | | | | Prevent false positive continuity counter error logs. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Fixed segfault on corrupted smacker streams in the demuxer.Laurent Aimar2011-09-11
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Fixed segfault on memory allocation failure in ape demuxer.Laurent Aimar2011-09-11
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mpegts: When playing mpegts over rtp/rtsp/sdp, lavf must still read PAT/SDT ↵Joakim Plate2011-09-11
| | | | | | | | | | | | | | | | | | | | 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>
* | Fix for some non interleaved avi files that gets played twice or won't endJoakim Plate2011-09-11
| | | | | | | | | | | | | | | | | | 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>
* | Allow reading of growing avi files (ie currently being written)Joakim Plate2011-09-11
| | | | | | | | | | | | | | | | | | | | 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.
* | mpegts: update comment to match codeMichael Niedermayer2011-09-11
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libavformat/utils: Only require first packet to be known for all audio and ↵Joakim Plate2011-09-11
| | | | | | | | | | | | | | | | | | | | 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>
* | mpegts: Some additional HDMV types and reg descriptors for mpegtsJoakim Plate2011-09-10
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avisynth: Fix upside down bugchinshou2011-09-10
| |
* | avisynth: Remove wrong pts calculation.chinshou2011-09-10
| | | | | | | | Fixes Ticket428
* | Fixed size given to init_get_bits().Laurent Aimar2011-09-10
| | | | | | | | | | | | | | 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>
* | av_interleave_packet_per_dts: switch noninterleaved flushing logic to max dts.Wolfram Gloger2011-09-09
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | asfenc: fix assert failure on long ffserver runsChiranjeevi Melam2011-09-09
| |
* | Prevent double free of side_data when AVFMT_FLAG_KEEP_SIDE_DATA flag is setGavin Kinsey2011-09-08
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-09-08
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
| * Employ FF_ARRAY_ELEMS instead of manually calculating array length.Diego Biurrun2011-09-08
| |
| * rtpdec_asf: Fix integer underflow that could allow remote code executionMichael Niedermayer2011-09-07
| | | | | | | | | | | | | | | | Fixes MSVR-11-0088. Credit: Jeong Wook Oh of Microsoft and Microsoft Vulnerability Research (MSVR) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Martin Storsjö <martin@martin.st>
* | ffmdec: set avio buffer to ffm->packet_size, avoid dirty readsYan Jing2011-09-08
| |
* | ffmdec: fix seeking for non indexed filesMichael Niedermayer2011-09-08
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmdec: handle wrapped file in ffm_seekYan Jing2011-09-08
| |
* | Add loas as an extension for LOAS/LATM.Carl Eugen Hoyos2011-09-08
| |
* | Support remuxing aac_latm.Carl Eugen Hoyos2011-09-08
| |
* | WTV muxer (1_extract_wtv_common_code.patch)zhentan feng2011-09-08
| |
* | flvdec: Remove AVFMTCTX_NOHEADER if both flags and metadata claim 1 streamAsad Mehmood2011-09-08
| | | | | | | | | | | | If there is only 1 stream in an flv avformat_find_stream_info will continually read until probesize is reached. This should stop it reading if the metadata also claims there to be 1 stream.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-09-07
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: Add LATM muxer v210enc: clip values according to specifications v210enc: switch to PIX_FMT_422P10 v210dec: switch to PIX_FMT_422P10 AVOptions: remove AVOption.offset <= 0 checks AVOptions: deprecate av_opt_set_defaults2 AVOptions: move doxy for av_opt_set_defaults() from opt.c to opt.h libx264: fix setting some more parameters libx264: fix setting the H.264 level libx264: add 'direct-pred' private option libx264: add 'partitions' private option Conflicts: Changelog libavcodec/Makefile libavcodec/libx264.c libavcodec/v210enc.c libavfilter/src_movie.c libavformat/version.h libavutil/opt.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Add LATM muxerKieran Kunhya2011-09-07
| | | | | | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
| * libx264: add 'direct-pred' private optionAnton Khirnov2011-09-07
| | | | | | | | Deprecate AVCodecContext.directpred
| * libx264: add 'partitions' private optionAnton Khirnov2011-09-07
| | | | | | | | Deprecate AVCodecContext.partitions.
* | rtpdec_asf: fix memleakMichael Niedermayer2011-09-07
| | | | | | | | | | Based on a suggestion by Ronald S. Bultje Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | rtp: Fix integer underflow that could allow remote code execution.Michael Niedermayer2011-09-07
| | | | | | | | | | | | Fixes MSVR-11-0088 Credit: Jeong Wook Oh of Microsoft and Microsoft Vulnerability Research (MSVR) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | flvdec: A little bit of cleanupJoseph Wecker2011-09-07
| |
* | flvenc: Correctly encode data stream into in-band metadata frames.Joseph Wecker2011-09-07
| |
* | flvdec: Properly decoding in-band metadata packets as data frames.Joseph Wecker2011-09-07
| |
* | flvdec: Started to remove most of the "only 1-audio+1-video" assumptionsJoseph Wecker2011-09-07
| |
* | flv: Ammon's changes migrated from 0.6.0 - I believe for the android ↵Joseph Wecker2011-09-07
| | | | | | | | broadcaster.
* | Support Speex in isom.Carl Eugen Hoyos2011-09-07
| | | | | | | | | | Adobe Flash Media Server produces such files although the f4v specification does not allow Speex (nor Nellymoser).