summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
* mpegts: remove unused variableJean First2011-12-31
| | | | | Signed-off-by: Jean First <jeanfirst@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* movenc: remove unused variablesJean First2011-12-31
| | | | | 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-31
| | | | | 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-31
| | | | | 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-30
| | | | | Idea-by: Reimar Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Use more designated initializers.Paul B Mahol2011-12-30
| | | | | | | 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-30
|
* flvdec: Print a warning in all failure cases of parse_keyframes_index()Michael Niedermayer2011-12-30
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* flvdec: Disable metadatacreator "MEGA" hackMichael Niedermayer2011-12-30
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* flvdec: Check index for being validMichael Niedermayer2011-12-30
| | | | | | 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-30
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-29
| | | | | | | | 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-29
| | | | | | | | | | | | | | | | | | 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-29
| | | | | | | | | | | | | | | | 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-30
| | | | | | | | | | | | 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-29
| | | | | | | | | | 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-29
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-28
| | | | | | | | | | | | | | | | | | | | | | | | 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-28
| | | | | | | | | | | | | | | | 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-28
| | | | | | | | | | 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-27
| |
* | dv: fix avpriv_dv_codec_profile with lowres > 0Marton Balint2011-12-26
| | | | | | | | | | | | | | 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-26
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Process compressed id3v2 tags.Adrian Drzewiecki2011-12-26
| | | | | | | | | | | | | | 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-26
| | | | | | | | | | This will allow a shared "timecode" key metadata between formats to ease third-party extraction.
* | dv: add timecode to metadataMatthieu Bouron2011-12-26
| | | | | | | | | | 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-25
| | | | | | | | | | | | | | 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-25
| | | | | | | | | | | | remain. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | asfdec: fix endless loop on EOFMichael Niedermayer2011-12-24
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sierravmd: limit packetsize to the amount that could be read.Michael Niedermayer2011-12-24
| | | | | | | | | | | | Fixes huge allocations. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | rmdec: Avoid allocating huge packetsMichael Niedermayer2011-12-24
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | rpl: Fix near infinite loop in index reading due to missing eof check.Michael Niedermayer2011-12-24
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Make the palette in Quake II CIN files opaque and increase its dynamics.Carl Eugen Hoyos2011-12-24
| |
* | Make mov palette opaque or load alpha if present.Carl Eugen Hoyos2011-12-24
| |
* | Make the avi palette opaque.Carl Eugen Hoyos2011-12-24
| |
* | avio: fix handling of , in urlsMichael Niedermayer2011-12-23
| | | | | | | | | | | | Fixes Ticket805 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | flvdec: disable new midstream param change code not only for h264 but all cases.Michael Niedermayer2011-12-23
| | | | | | | | | | | | It breaks some samples and iam not aware of one that it fixes. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-12-23
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: build: fix standalone compilation of OMA muxer build: fix standalone compilation of Microsoft XMV demuxer build: fix standalone compilation of Core Audio Format demuxer kvmc: fix invalid reads 4xm: Add a check in decode_i_frame to prevent buffer overreads adpcm: fix IMA SMJPEG decoding options: set minimum for "threads" to zero bsd: use number of logical CPUs as automatic thread count windows: use number of CPUs as automatic thread count linux: use number of CPUs as automatic thread count pthreads: reset active_thread_type when slice thread_init returrns early v410dec: include correct headers Drop ALT_ prefix from BITSTREAM_READER_LE name. lavfi: always build vsrc_buffer. ra144enc: zero the reflection coeffs if the filter is unstable sws: readd PAL8 to isPacked() mov: Don't stick the QuickTime field ordering atom in extradata. truespeech: fix invalid reads in truespeech_apply_twopoint_filter() Conflicts: configure libavcodec/4xm.c libavcodec/avcodec.h libavfilter/Makefile libavfilter/allfilters.c libavformat/Makefile libswscale/swscale_internal.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * build: fix standalone compilation of OMA muxerDiego Biurrun2011-12-23
| | | | | | | | The muxer depends on the id3v2 writing code, so link against it.
| * build: fix standalone compilation of Microsoft XMV demuxerDiego Biurrun2011-12-23
| | | | | | | | The demuxer depends on the RIFF codec tags code, so link against it.
| * build: fix standalone compilation of Core Audio Format demuxerDiego Biurrun2011-12-23
| | | | | | | | | | The demuxer depends on code from mov.c, which in turn depends on code from mov_chan.c, so link against it.
| * mov: Don't stick the QuickTime field ordering atom in extradata.Alex Converse2011-12-21
| | | | | | | | | | | | The 'fiel' atoms can be found in H.264 tracks clobbering the extradata. MJPEG supports non field based extradata, and this data should be preserved when copying.
* | udp: support non blocking reads with fifoMichael Niedermayer2011-12-23
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | udp: Replace double select() by select+mutex+cond.Michael Niedermayer2011-12-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When no data was available both the buffer thread as well as the main thread would block in select(), when data becomes available both should move forward and as data is read in the buffer thread the main thread would block in select() later the read data was put in the fifo but the main thread still would be blocked in select() until either the timeout or another packet would come in. This is solved in this commit by using a mutex and a condition variable Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | udp: return circular buffer error if such error happened.Michael Niedermayer2011-12-23
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'tjoppen/fuzz_fixes'Michael Niedermayer2011-12-22
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tjoppen/fuzz_fixes: mxfdec: Don't crash in mxf_packet_timestamps() if current_edit_unit overflows mxfdec: Zero nb_ptses in mxf_compute_ptses_fake_index() mxfdec: Sanity check PreviousPartition mxfdec: Never seek back in local sets and KLVs mxfdec: Move the current_partition check inside mxf_read_header() mxfdec: Fix infinite loop in mxf_packet_timestamps() mxfdec: Check url_feof() in mxf_read_local_tags() mxfdec: Check for NULL component Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | mxfdec: Don't crash in mxf_packet_timestamps() if current_edit_unit overflowsTomas Härdin2011-12-21
| | |
| * | mxfdec: Zero nb_ptses in mxf_compute_ptses_fake_index()Tomas Härdin2011-12-21
| | | | | | | | | | | | This fixes SIGSEGV on files with both CBR and VBR index segments (zzuf6.mxf).
| * | mxfdec: Sanity check PreviousPartitionTomas Härdin2011-12-21
| | | | | | | | | | | | Without this certain files could get the demuxer stuck in a loop
| * | mxfdec: Never seek back in local sets and KLVsTomas Härdin2011-12-21
| | | | | | | | | | | | | | | | | | | | | Specially crafted files can lead the parsing code to take too long. We fix a lot of these problems by not allowing local tags to extend past the end of the set and not allowing other KLVs to be read past the end of themselves.