summaryrefslogtreecommitdiffstats
path: root/libavformat
Commit message (Collapse)AuthorAgeFilesLines
* avformat/mpegts: Do not trust BSSD descriptor, it is sometimes not an S302M ↵Michael Niedermayer2016-06-061-1/+4
| | | | | | stream Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/matroskadec: Fix rounding error with codec_delayMichael Niedermayer2016-06-061-3/+4
| | | | | | Fixes Ticket5509 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/movenc: Skip unsupported video tracks in timecode generationMichael Niedermayer2016-06-061-10/+22
| | | | | | Fixes Ticket5414 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/allformats: Making av_register_all() thread-safe.Vivekanand2016-06-051-1/+2
| | | | | | | | | | When multiple threads tries to call av_register_all(), the first thread sets initialized to 1 and do the register process. At the same time, other thread might also call av_register_all(), which returns immediately because initialized is set to 1 (even when it has not completed registering codecs). We can avoid this problem if we set initialised to 1 while exiting from function. Github: Closes #196
* avformat/format: Print debug info when probe score is increased due to mime typeMichael Niedermayer2016-06-051-2/+6
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/dump: Print tbc valueMichael Niedermayer2016-06-041-4/+7
| | | | | | | Fixes regression of av_dump_format() Fixes part of Ticket 5444 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/version: Add Ticket5421 to list of tickets possibly affected by a ↵Michael Niedermayer2016-06-031-1/+1
| | | | | | major bump Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/dump: Use codec and QP limits from AVCodecContextMichael Niedermayer2016-06-031-0/+3
| | | | | | | Fixes regression Fixes Ticket5421 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavf/udp: fix dead code.Nicolas George2016-06-031-1/+1
| | | | | | | | | | Since d607861, service can not be NULL, only "0". An UDP address with neither local port nor address leaves both service and node to their default value, and POSIX specifies that they are not allowed to be both NULL; "0" is equivalent to an unspecified port for all currently known protocols. Fix CID 1341570.
* avformat/au: Write MetaData in AU Sun audio file headerThomas Bernard2016-06-031-4/+62
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat: Copy properties from internal contextMichael Niedermayer2016-06-023-0/+8
| | | | | | | Fixes Ticket5467 "Lossless j2k information no longer shown" Based on suggestion by Hendrik Leppkes Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/udp: Protect write to circular_buffer_error by mutexMichael Niedermayer2016-06-021-0/+2
| | | | | | | This isnt really needed on most platforms but fixes CID1362183 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat: Document where the AVOption names can be found for the fields of ↵Michael Niedermayer2016-06-011-0/+6
| | | | | | | | | | AVFormatContext Missing docs found by: nevcairiel RFC: should we add support so that the C field names always work as av option names/keys ? Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/isom: add MagicYUV FourCCsPiotr Bandurski2016-06-011-0/+8
|
* avocdec: add MagicYUV decoderPaul B Mahol2016-05-311-0/+1
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avformat/movenc: remove useless if and reindentMarton Balint2016-05-311-12/+9
| | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/movenc: propagate shift_data errors properlyMarton Balint2016-05-311-0/+4
| | | | | | | | The second one is not explicitly needed, as res is not reset, but it is there for consistency. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Marton Balint <cus@passwd.hu>
* libavformat/movenc: remove unnecessary null checkMark Reid2016-05-301-3/+1
| | | | | | Fixes CID1361955 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/udp: Remove unused variableMichael Niedermayer2016-05-291-1/+0
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/movenc: Fix potential track width/height overflowsMichael Niedermayer2016-05-291-9/+13
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/movenc: Avoid integer overflowMichael Niedermayer2016-05-291-1/+5
| | | | | | Fixes: CID1361947 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/oggparseopus: Fix Undefined behavior in oggparseopus.c and ↵Thomas Guilbert2016-05-291-1/+1
| | | | | | | | | libavformat/utils.c Fixes: usan_granule_overflow constant type fix by commiter Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/utils: avoid overflow in compute_chapters_end() with huge durationsMichael Niedermayer2016-05-291-1/+1
| | | | | | | Fixes: usan_granule_overflow Found-by: Thomas Guilbert <tguilbert@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/utils: avoid overflow in update_stream_timings() with huge durationsMichael Niedermayer2016-05-291-1/+1
| | | | | | | Fixes: usan_granule_overflow Found-by: Thomas Guilbert <tguilbert@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavf/mov: Support one more Avid compression id for AVCI50.Carl Eugen Hoyos2016-05-282-2/+4
| | | | Reported by forum user lexidata.
* avformat/movenc: Fix memleak of reshuffled packetMichael Niedermayer2016-05-281-2/+4
| | | | | | Fixes CID1361952 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/movenc: Rename reshuffles return variable to ensure it is not mixed upMichael Niedermayer2016-05-281-10/+10
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/oggparseflac: Fix memleaks in old_flac_header()Michael Niedermayer2016-05-281-3/+9
| | | | | | Fixes CID1361953 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/utils: Fix use of uninitialized variableMichael Niedermayer2016-05-261-2/+1
| | | | | | Fixes CID1361961 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/udp: Close the socket after destroying the thread using the socketMichael Niedermayer2016-05-251-1/+1
| | | | | | for send() this cannot work and even for recv() it feels very wrong and hackish Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/udp: redesign threaded udp tx codeMichael Niedermayer2016-05-251-42/+58
| | | | | | | | | | | This fixes partially completed send() Avoids holding the mutex during send() fixes race conditions in error handling removes copied non thread specific blocking code Fixes deadlocks on closure Fixes data loss on closure Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/udp: Add a delay between packets for streaming to clients with ↵Pavel Nikiforov2016-05-251-3/+131
| | | | | | | | | | | | | | | | short buffer This commit enables sending UDP packets in a background thread with specified delay. When sending packets without a delay some devices with small RX buffer ( MAG200 STB, for example) will drop tail packets in bursts causing decoding errors. To use it specify "fifo_size" with "packet_gap" . The output url will looks like udp://xxx:yyy?fifo_size=<output fifo size>&packet_gap=<delay in usecs> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/mov: Avoid "Unintended sign extension"Michael Niedermayer2016-05-241-1/+1
| | | | | | Fixes CID1361957 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/matroskaenc: reindent after last commitMichael Niedermayer2016-05-221-8/+8
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/matroskaenc: wrap par->format use as sample format under codec_type ↵Michael Niedermayer2016-05-221-0/+2
| | | | | | | | == AVMEDIA_TYPE_AUDI Fixes CID1361946 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/avienc: Fix memleaks on errorsMichael Niedermayer2016-05-221-6/+9
| | | | | | Fixes CID1361951 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/avienc: Rename reshuffles return variable to ensure it is not mixed upMichael Niedermayer2016-05-221-7/+7
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat: add MTAF demuxerPaul B Mahol2016-05-214-1/+84
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavf/mpegts: add ID3 entry to the REGD_types arrayStefano Sabatini2016-05-191-0/+1
| | | | | This allows to recognize ID3 packets from their corresponding descriptor tag.
* lavf/mpegtsenc: set metadata stream type and write descriptor for ID3 packetsStefano Sabatini2016-05-192-0/+11
| | | | This allow to remux data packets which are then recognized as ID3 packets.
* avformat/iff: parse DPAN chunkPaul B Mahol2016-05-191-0/+6
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avformat/dtshddec: move data_start outside of DTSHDDemuxContextJames Almer2016-05-191-5/+4
| | | | | | It's only used in dtshd_read_header() Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/avidec: Detect index with too short entriesMichael Niedermayer2016-05-181-0/+2
| | | | | | Fixes Ticket5498 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/avio: Fix null pointer dereference in case of memleakMichael Niedermayer2016-05-181-0/+2
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/avio: fix memory leak in url_find_protocolYong Lei2016-05-181-0/+1
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/utils: Check negative bps before shifting in ff_get_pcm_codec_id()Chris Cunningham2016-05-171-1/+1
| | | | | | Fixes: undefined shift. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/dtshddec: implement AUPR_HDR chunk parsingJames Almer2016-05-161-1/+23
| | | | | | | Use it to get stream duration, sample rate, channel count and initial padding Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/dtshddec: parse chunks stored after audio dataJames Almer2016-05-161-4/+16
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/iff: add support for ANIMs with keyframes and concatenated ANIMsPaul B Mahol2016-05-161-4/+11
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avformat/utils: Do not compute the bitrate from duration == 0Michael Niedermayer2016-05-161-1/+1
| | | | | | Fixes division by 0 in fate-acodec-ra144 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
OpenPOWER on IntegriCloud