aboutsummaryrefslogtreecommitdiff
path: root/libavformat
AgeCommit message (Collapse)Author
2012-01-18fix rtp 916 issueDmitry Volyntsev
Reviewed-by: Luca Abeni <lucabe72@email.it> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-01-17mxfdec: Consider OPAtom files that don't have exactly one EC to be OP1aTomas Härdin
This fixes demuxing of 2011_DCPTEST_24FPS.V.mxf. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-01-17Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: rv34: add NEON rv34_idct_add rv34: 1-pass inter MB reconstruction add SMJPEG muxer avformat: split out common SMJPEG code pictordec: Use bytestream2 functions avconv: use avcodec_encode_audio2() pcmenc: use AVCodec.encode2() avcodec: bump minor version and add APIChanges for the new audio encoding API avcodec: Add avcodec_encode_audio2() as replacement for avcodec_encode_audio() avcodec: add a public function, avcodec_fill_audio_frame(). rv34: Intra 16x16 handling rv34: Inter/intra MB code split Conflicts: Changelog libavcodec/avcodec.h libavcodec/pictordec.c libavcodec/utils.c libavcodec/version.h libavcodec/x86/rv34dsp.asm libavformat/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-01-16mxfdec: Add missing free.Reimar Döffinger
Should fix valgrind FATE. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2012-01-16asfdec: Move variable declarations into the blocks they are used in.Reimar Döffinger
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2012-01-16add SMJPEG muxerPaul B Mahol
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
2012-01-16avformat: split out common SMJPEG codePaul B Mahol
This is a preparation for adding SMJPEG muxer. Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
2012-01-16Enhance HLS seeking.Panagiotis H.M. Issaris
Enhances seeking by demuxing until the requested timestamp is reached within the segment selected by the seek code using the playlist info. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-01-16mov: cosmetics - move a line to a better position and add a commentJean First
mov: cosmetics - move a line to a better position and add a comment Oana Andreea Stratulat submitted a similar patch to trac, but forgot to notify the ML about it. Signed-off-by: Jean First <jeanfirst@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-01-16movenc: add FIXME to add alis and rsrc atomsJean First
Signed-off-by: Jean First <jeanfirst@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-01-16movenc: indent cosemticsJean First
Signed-off-by: Jean First <jeanfirst@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-01-16Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: fate: split ADPCM and DPCM test references into separate files. mov, mxfdec: Employ more meaningful return values. lavc: Relax API strictness in avcodec_decode_audio3 with a custom get_buffer() wavpack: fix clipping for 32-bit lossy mode vb: Use bytestream2 functions Conflicts: libavcodec/utils.c libavcodec/vb.c libavformat/mxfdec.c tests/fate/dpcm.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-01-15mov, mxfdec: Employ more meaningful return values.Daniel Huang
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2012-01-15Fix ff_get_guid for short reads or errors.Reimar Döffinger
Current code would just return uninitialized data with no way to detect this condition. Instead, fill the whole GUID with 0 in that case. Fixes valgrind uninitialized data errors in fate-seek-lavf_asf. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2012-01-14mpeg12dec: BW10 supportMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-01-14avidec: XMPG supportMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-01-14udp: fix segfault on closingLaurent BRULET
Fixes ticket915
2012-01-14Fixes issue 890: OOM with zmbv fileOana Stratulat
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-01-13ico: favour BITMAPHEADER dimensions over IconEntry dimensionsPeter Ross
Fixes ticket 759. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-01-13segment: fix FPE when segment_list_size is 0Nicolas Noirbent
With the added benefit that allowing -segment_list_size 0 makes it possible to keep all segment entries in the list file. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-01-13Revert "riff: remove references to sonic codec ids"Michael Niedermayer
This reverts commit 0fd88d398896353074fee153259dbf3530ca423f. Theres no reason to drop support for this.
2012-01-13mpegtsenc: do not reference the deprecated ffmpeg option 'vbsf' in a log messageStefano Sabatini
Give a more generic advice.
2012-01-13mpegtsenc: fix some typos: aac -> AAC, adts -> ADTSStefano Sabatini
2012-01-13mpegtsenc: use more meaningful error codesStefano Sabatini
2012-01-13Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: (21 commits) utils: Check for extradata size overflows. ARM: rv34: fix asm syntax in dc transform functions avio: Fix the value of the deprecated URL_FLAG_NONBLOCK rv34: fix and optimise frame dependency checking rv34: NEON optimised dc only inverse transform avprobe: use avio_size() instead of deprecated AVFormatContext.file_size. ffmenc: remove references to deprecated AVFormatContext.timestamp. lavf: undeprecate read_seek(). avserver: remove code using deprecated CODEC_CAP_PARSE_ONLY. lavc: replace some remaining FF_I_TYPE with AV_PICTURE_TYPE_I lavc: ifdef out parse_only AVOption nellymoserdec: SAMPLE_FMT -> AV_SAMPLE_FMT mpegvideo_enc: ifdef out/replace references to deprecated codec flags. riff: remove references to sonic codec ids indeo4: add some missing static and const qualifiers rv34: DC-only inverse transform avconv: use AVFrame.width/height/format instead of corresponding AVCodecContext fields lavfi: move version macros to a new installed header version.h vsrc_buffer: release the buffer on uninit. rgb2rgb: rgb12tobgr12() ... Conflicts: avconv.c doc/APIchanges ffprobe.c libavfilter/Makefile libavfilter/avfilter.h libswscale/rgb2rgb.c libswscale/rgb2rgb.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-01-12utils: Check for extradata size overflows.Alex Converse
2012-01-12avio: Fix the value of the deprecated URL_FLAG_NONBLOCKMartin Storsjö
This isn't used in practice anywhere within libav at the moment, but change it for consistency until it is removed. URL_RDONLY/WRONLY were fixed in commit 5b81e295931 (after the values that actually were used were changed at the major bump, in commit cbea3ac8), but this flag was unintentionally left unfixed. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-01-12wtvdec: fix a few memleaks as show by valgrind with the FATE test.Reimar Döffinger
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2012-01-12ffmenc: remove references to deprecated AVFormatContext.timestamp.Anton Khirnov
2012-01-12lavf: undeprecate read_seek().Anton Khirnov
The "new seeking API" was never finished and nobody is working on it.
2012-01-12riff: remove references to sonic codec idsAnton Khirnov
They are deprecated and will be purged on next major bump.
2012-01-12ico: reject icon entries that are smaller than sizeof(BITMAPHEADER)Peter Ross
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-01-12ico: ignore IconEntry.bpp value, and favour BITMAPHEADER.NumColors value ↵Peter Ross
over that in IconEntry Fixes ticket 905. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-01-12ico: consider IconEntry.NumColors of 255 to be ambiguousPeter Ross
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-01-12Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: fft: init functions with INIT_XMM/YMM. pcmenc: set frame_size to 0. gsm demuxer: use generic seeking instead of a gsm-specific function. gsm demuxer: return packets with only 1 gsm block at a time. avcodec: add GSM parser doc: Replace ffmpeg references in avserver config file by avconv. doc: Fix names of av_log color environment variables. Fix a bunch of platform name and other typos. Add some missing changelog entries and release 0.8_beta2 No longer build libpostproc by default wtv: fix memleaks during normal operation threads: add CODEC_CAP_AUTO_THREADS for libvpx and xavs Conflicts: Changelog RELEASE cmdutils.c configure doc/ffserver.conf doc/platform.texi ffplay.c libavcodec/Makefile libavcodec/version.h libavformat/wtv.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-01-11gsm demuxer: use generic seeking instead of a gsm-specific function.Justin Ruggles
Since packets all contain only a single block, the generic seek function can be used while still maintaining block-accuracy.
2012-01-11gsm demuxer: return packets with only 1 gsm block at a time.Justin Ruggles
fixes stream copy of raw gsm to mov. tested with QuickTime.
2012-01-11Fixes wrong duration in .mov file. Issue 599Oana Stratulat
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-01-11Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: (22 commits) rv34: frame-level multi-threading mpegvideo: claim ownership of referenced pictures aacsbr: prevent out of bounds memcpy(). ipmovie: fix pts for CODEC_ID_INTERPLAY_DPCM sierravmd: fix audio pts bethsoftvideo: Use bytestream2 functions to prevent buffer overreads. bmpenc: support for PIX_FMT_RGB444 swscale: fix crash in fast_bilinear code when compiled with -mred-zone. swscale: specify register type. rv34: use get_bits_left() avconv: reinitialize the filtergraph on resolution change. vsrc_buffer: error on changing frame parameters. avconv: fix -copyinkf. fate: Update file checksums after the mov muxer change in a78dbada55d6 movenc: Don't store a nonzero creation time if nothing was set by the caller bmpdec: support for rgb444 with bitfields compression rgb2rgb: allow conversion for <15 bpp doc: fix stray reference to FFmpeg v4l2: use C99 struct initializer v4l2: poll the file descriptor ... Conflicts: avconv.c libavcodec/aacsbr.c libavcodec/bethsoftvideo.c libavcodec/kmvc.c libavdevice/v4l2.c libavfilter/vsrc_buffer.c libswscale/swscale_unscaled.c libswscale/x86/input.asm tests/ref/acodec/alac tests/ref/acodec/pcm_s16be tests/ref/acodec/pcm_s24be tests/ref/acodec/pcm_s32be tests/ref/acodec/pcm_s8 tests/ref/lavf/mov tests/ref/vsynth1/dnxhd_1080i tests/ref/vsynth1/mpeg4 tests/ref/vsynth1/qtrle tests/ref/vsynth1/svq1 tests/ref/vsynth2/dnxhd_1080i tests/ref/vsynth2/mpeg4 tests/ref/vsynth2/qtrle tests/ref/vsynth2/svq1 Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-01-11wtv: fix memleaks during normal operationJanne Grunau
2012-01-10ipmovie: fix pts for CODEC_ID_INTERPLAY_DPCMJustin Ruggles
frame sample count calculation was incorrect
2012-01-10sierravmd: fix audio ptsJustin Ruggles
The duration of the first packet was being calculated incorrectly, leading to an incorrect timestamp offset.
2012-01-10movenc: Don't store a nonzero creation time if nothing was set by the callerMartin Storsjö
If the creation time is stored in the file as a zero, the mov demuxer skips exporting the creation time. Currently, files muxed without a creation time get demuxed with a Jan 1st 1970 creation timestamp. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-01-09rawdec: use av_shrink_packet.Reimar Döffinger
This fixes reads of uninitialized data by the parser when running FATE sample h264-conformance/SL1_SVA_B.264. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2012-01-09lavf: Add forgotten line from 212fd3a1f1121a9db20c478f1fccf15e8bb53c94Michael Niedermayer
This fixes a tiny memleak. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-01-08ipmovie: Fix passing resolution changes on.Michael Niedermayer
Fixes Ticket676 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-01-08Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: (29 commits) cabac: Move code only used within the CABAC test program into the test program. vp56: Drop unnecessary cabac.h #include. h264-test: Initialize AVCodecContext.av_class. build: Skip compiling network.h and rtsp.h if networking is not enabled. cosmetics: drop some pointless parentheses Disable annoying warning without changing behavior faq: Solutions for common problems with sample paths when running FATE. avcodec: attempt to clarify the CODEC_CAP_DELAY documentation avcodec: fix avcodec_encode_audio() documentation. FATE: xmv-demux test; exercise the XMV demuxer without decoding the perceptual codecs inside. vqf: recognize more metadata chunks FATE test: BMV demuxer and associated video and audio decoders. FATE: indeo4 video decoder test. FATE: update xxan-wc4 test to a sample with more code coverage. Change the recent h264_mp4toannexb bitstream filter test to output to an elementary stream rather than a program stream. g722enc: validate AVCodecContext.trellis g722enc: set frame_size, and also handle an odd number of input samples g722enc: split encoding into separate functions for trellis vs. no trellis mpegaudiodec: Use clearer pointer math tta: Fix returned error code at EOF ... Conflicts: libavcodec/h264.c libavcodec/indeo3.c libavcodec/interplayvideo.c libavcodec/ivi_common.c libavcodec/libxvidff.c libavcodec/mpegvideo.c libavcodec/ppc/mpegvideo_altivec.c libavcodec/tta.c libavcodec/utils.c libavfilter/vsrc_buffer.c libavformat/Makefile tests/fate/indeo.mak tests/ref/acodec/g722 Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-01-07build: Skip compiling network.h and rtsp.h if networking is not enabled.Diego Biurrun
rtsp.h relies on network.h and the latter conditionally defines fallback OS structures that rely on configure tests, which are only run if networking is enabled.
2012-01-07cosmetics: drop some pointless parenthesesDiego Biurrun
2012-01-07lavf: Do not attempt to use frame multi threading when probing.Michael Niedermayer
This fixes various problems with getting stream info. For example playback of the file of Ticket88. Multithreaded find_stream_info should be reenabled once it works correctly This partly reverts 212fd3a1f1121a9db20c478f1fccf15e8bb53c94 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>