aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
Commit message (Collapse)AuthorAgeFilesLines
...
* | rtsp: Fix compiler warning for uninitialized variable.Jean First2012-01-031-1/+1
| | | | | | | | Reviewed-by: Martin Storsjö
* | wtvdec: use intfloat.h instead of intfloat_readwrite.hJean First2012-01-031-3/+3
| | | | | | | | | | Signed-off-by: Jean First <jeanfirst@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-01-033-3/+3
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: mpegenc: use avctx->slices as number of slices v410enc: fix undefined signed left shift caused by integer promotion Release notes: mention cleaned up header includes fix Changelog file Fix a bunch of typos. Drop some pointless void* return value casts from av_malloc() invocations. wavpack: fix typos in previous cosmetic clean-up commit wavpack: cosmetics: K&R pretty-printing avconv: remove the 'codec framerate is different from stream' warning wavpack: determine sample_fmt before requesting a buffer bmv audio: implement new audio decoding API mpegaudiodec: skip all channels when skipping granules mpegenc: simplify muxrate calculation Conflicts: Changelog avconv.c doc/RELEASE_NOTES libavcodec/h264.c libavcodec/mpeg12.c libavcodec/mpegaudiodec.c libavcodec/mpegvideo.c libavformat/mpegenc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Fix a bunch of typos.Diego Biurrun2012-01-021-1/+1
| |
| * Drop some pointless void* return value casts from av_malloc() invocations.Diego Biurrun2012-01-021-1/+1
| |
| * mpegenc: simplify muxrate calculationJanne Grunau2012-01-021-1/+1
| | | | | | | | | | | | | | The fate-h264-bsf-mp4toannexb failures were caused by an integer overflow of the unneeded multiplication. Inspired by patch by: Michael Niedermayer <michaelni@gmx.at>
| * rawdec: Set start_time to 0 for raw audio files.Reimar Döffinger2012-01-011-0/+1
| | | | | | | | | | | | | | None of the raw audio files have timestamps, thus setting start_time to 0 should be reasonable. Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * Detect 'yuv2' as rawvideo also in avi.Carl Eugen Hoyos2012-01-011-0/+1
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | mp3enc: fix playback with mp3 encoded files on some devices.Clément Bœsch2012-01-021-3/+5
| | | | | | | | | | This partially reverts 1fea432b; header variable needs to keep its value in case it triggers "if (needed <= c.frame_size)".
* | flvdec: use av_uninit to silence compiler warningsJean First2012-01-021-1/+2
| | | | | | | | | | Signed-off-by: Jean First <jeanfirst@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | y41p encoder and decoderPaul B Mahol2012-01-022-0/+2
| | | | | | | | | | | | | | | | y41p is a packed 12-bit 4:1:1 YUV format used by Brooktree. Fixes issue 1123 / ticket #102. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mov: av_dlog use PRId64 instead of %ldJean First2012-01-011-1/+1
| | | | | | | | | | Signed-off-by: Jean First <jeanfirst@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mxfdec: change av_log formatting %lx to PRIx64 and %li to PRIi64Jean First2012-01-011-5/+5
| | | | | | | | | | Signed-off-by: Jean First <jeanfirst@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mpegpsenc: Fix integer overflow of the muxrate calculation.Michael Niedermayer2012-01-011-1/+1
| | | | | | | | | | | | this should fix the failure of h264-bsf-mp4toannexb on freebsd/openbsd Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-01-011-5/+16
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: FATE: add tests for dfa mpegaudiodec: fix seeking. mpegaudiodec: fix compilation when testing the unchecked bitstream reader threads: add sysconf based number of CPUs detection threads: always include necessary headers for number of CPUs detection threads: default to automatic thread count detection Changelog: restore version <next> header cook: K&R formatting cosmetics Conflicts: Changelog libavcodec/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * threads: default to automatic thread count detectionJanne Grunau2011-12-311-4/+15
| |
* | Do not map asf metadata key WM/Track to track.Carl Eugen Hoyos2011-12-311-1/+0
| | | | | | | | | | | | | | WM/Track is 0-based (and deprecated in favour of WM/TrackNumber), track is 1-based. Fixes ticket #825.
* | mxg: fix compiler warning for uninitialized variablesMichael Niedermayer2011-12-311-1/+1
| | | | | | | | | | Based on work by: Jean First <jeanfirst@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | id3v2: fix compiler warning for uninitialized variablesJean First2011-12-311-1/+1
| | | | | | | | | | Signed-off-by: Jean First <jeanfirst@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavf: ffio_limit(), treat avio_size()==0 as error.Michael Niedermayer2011-12-311-1/+1
| | | | | | | | | | | | | | | | This works around issues arising from inputs that claim to have a filesize of 0. Reported-by: buzz_ Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | flvdec: Check avpriv_mpeg4audio_get_config() returnMichael Niedermayer2011-12-311-2/+3
| | | | | | | | | | | | value before using its output. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mpegts: remove unused variableJean First2011-12-311-1/+1
| | | | | | | | | | Signed-off-by: Jean First <jeanfirst@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | movenc: remove unused variablesJean First2011-12-311-2/+0
| | | | | | | | | | Signed-off-by: Jean First <jeanfirst@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | cache: use av_freep instead of av_free in cache_openJean First2011-12-311-1/+1
| | | | | | | | | | Signed-off-by: Jean First <jeanfirst@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | cache: remove unused variable in cache_openJean First2011-12-311-1/+0
| | | | | | | | | | Signed-off-by: Jean First <jeanfirst@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | flvdec: Add comment about the 5 second thresholdMichael Niedermayer2011-12-301-1/+1
| | | | | | | | | | Idea-by: Reimar Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Use more designated initializers.Paul B Mahol2011-12-309-32/+20
| | | | | | | | | | | | | | Also remove some pointless NULL/0 assigments. C++ code must be left as it is because named struct initializers are not supported by C++ standard.
* | mp3enc: remove unused variablePaul B Mahol2011-12-301-1/+1
| |
* | flvdec: Print a warning in all failure cases of parse_keyframes_index()Michael Niedermayer2011-12-301-3/+5
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | flvdec: Disable metadatacreator "MEGA" hackMichael Niedermayer2011-12-301-12/+0
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | flvdec: Check index for being validMichael Niedermayer2011-12-301-1/+10
| | | | | | | | | | | | Fixes seeking in Enigma_Principles_of_Lust.flv Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-12-302-8/+27
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: fate: split off DPCM codec FATE tests into their own file fate: split off PCM codec FATE tests into their own file libvorbis: K&R reformatting cosmetics libmp3lame: K&R formatting cosmetics fate: Add a video test for xxan decoder mpegvideo_enc: K&R cosmetics (line 1000-2000). avconv: K&R cosmetics qt-faststart: Fix up indentation indeo4: remove two unused variables doxygen: cleanup style to support older doxy fate: add more tests for VC-1 decoder applehttpproto: Apply the same reload interval changes as for the demuxer applehttp: Use half the target duration as interval if the playlist didn't update applehttp: Use the last segment duration as reload interval lagarith: add decode support for arith rgb24 mode Conflicts: avconv.c libavcodec/libmp3lame.c libavcodec/mpegvideo_enc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * applehttpproto: Apply the same reload interval changes as for the demuxerAndrey Utkin2011-12-291-2/+12
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * applehttp: Use half the target duration as interval if the playlist didn't ↵Martin Storsjö2011-12-291-3/+8
| | | | | | | | | | | | | | | | | | update This is mandated in draft-pantos-http-live-streaming-07, section 6.3.4. Signed-off-by: Martin Storsjö <martin@martin.st>
| * applehttp: Use the last segment duration as reload intervalAndrey Utkin2011-12-291-4/+8
| | | | | | | | | | | | | | | | According to draft-pantos-http-live-streaming-07, 6.3.4, the duration of the last media segment in the playlist should be used as initial minimum reload delay. Signed-off-by: Martin Storsjö <martin@martin.st>
* | nsvdec: Check av_malloc(string_size)Michael Niedermayer2011-12-301-0/+2
| | | | | | | | | | | | This can easily be NULL as string_size can be 2g in a damaged file. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | issdemux: Check packet_size for validityMichael Niedermayer2011-12-291-0/+5
| | | | | | | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-12-293-17/+38
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: v410dec: Check for sufficient input data. Fixes crash fate: Add v210 codec regression tests mpegts: adjustable minimum PES payload mpegts: properly output large audio packets avformat: Add SMJPEG demuxer. Indeo 4 decoder Conflicts: doc/general.texi libavcodec/v410dec.c libavcodec/version.h libavformat/mpegtsenc.c libavformat/smjpeg.c libavformat/version.h tests/codec-regression.sh Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * mpegts: adjustable minimum PES payloadJindřich Makovička2011-12-281-9/+26
| | | | | | | | | | | | | | | | | | | | | | | | With the current default PES packet size, and very small audio bitrates, audio packet duration gets too long. For players, which wait for a whole audio packet (or more) it takes a very long time to start playing sound. For 24kbps audio, one PES packet is about 1 second long. On Motorola STBs, we observe about 3 second delay before the playback starts with the default setting. Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * mpegts: properly output large audio packetsJindřich Makovička2011-12-281-4/+12
| | | | | | | | | | | | | | | | Do not assume the audio packets being always smaller than DEFAULT_PES_PAYLOAD_SIZE. Signed-off-by: Jindřich Makovička <makovick@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * avformat: Add SMJPEG demuxer.Paul B Mahol2011-12-284-1/+190
| | | | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | Make Interplay palette opaque and increase its dynamics.Carl Eugen Hoyos2011-12-271-2/+6
| |
* | dv: fix avpriv_dv_codec_profile with lowres > 0Marton Balint2011-12-261-4/+2
| | | | | | | | | | | | | | Fixes ticket #44. Signed-off-by: Marton Balint <cus@passwd.hu> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | id3v2: fix variable type for uncompress()Michael Niedermayer2011-12-261-3/+3
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Process compressed id3v2 tags.Adrian Drzewiecki2011-12-261-9/+62
| | | | | | | | | | | | | | ID3v2.4 allows for zlib compressed tags, but libavformat skips them. Implement code to inflate compressed tags. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | gxf: remove gxf_ prefix to timecode metadata keys.Clément Bœsch2011-12-261-3/+3
| | | | | | | | | | This will allow a shared "timecode" key metadata between formats to ease third-party extraction.
* | dv: add timecode to metadataMatthieu Bouron2011-12-261-0/+77
| | | | | | | | | | Reviewed-by: Reimar Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | segafilm: fail earlier in case theres not enough bytestream left for aMichael Niedermayer2011-12-251-0/+3
| | | | | | | | | | | | | | audio packet. This prevents a potentially large memory allocation. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avio: Fix ffio_limit() when due to seeking past the end less than 0 bytes ↵Michael Niedermayer2011-12-251-1/+2
| | | | | | | | | | | | remain. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | asfdec: fix endless loop on EOFMichael Niedermayer2011-12-241-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>