summaryrefslogtreecommitdiffstats
path: root/libavformat
Commit message (Collapse)AuthorAgeFilesLines
* avformat/httpauth: add comment about "" and algorithmMichael Niedermayer2014-03-031-0/+3
| | | | | Suggested-by: ubitux Signed-off-by: Michael Niedermayer <[email protected]>
* avformat/HLS: modified EXT-X-MEDIA-SEQUENCE header in order to follow the ↵Willy Aubry2014-03-031-1/+6
| | | | | | | | | | HLS standard When using the wrap option the EXT-X-MEDIA-SEQUENCE header of the playlist file was reset instead of being incremented. It is now incremented by one for every media URI removed from the playlist file as the standard states. Signed-off-by: Willy Aubry <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* avformat/utils: detect MPEG streams with faulty DTS and discard affected DTSMichael Niedermayer2014-03-032-0/+32
| | | | | | Fixes issue2.ts Signed-off-by: Michael Niedermayer <[email protected]>
* Merge commit '5c9c305d14730faf2af206e5d519df4948de0ed2'Michael Niedermayer2014-03-021-10/+10
|\ | | | | | | | | | | | | | | | | | | * commit '5c9c305d14730faf2af206e5d519df4948de0ed2': ass: K&R formatting cosmetics Conflicts: libavformat/assdec.c Merged-by: Michael Niedermayer <[email protected]>
| * ass: K&R formatting cosmeticsPatrice Clement2014-03-021-46/+49
| |
| * mxf: Add DNxHD ULTomas Härdin2014-02-211-0/+1
| | | | | | | | | | | | | | Note that the old DNxHD UL is actually JPEG 2000 according to RP224. Leaving it as-is for now. Signed-off-by: Luca Barbato <[email protected]>
| * mxf: Add uncompressed 422 8-bit rawvideo ULPhilip de Nier2014-02-211-0/+1
| | | | | | | | Signed-off-by: Luca Barbato <[email protected]>
* | Revert "mpegts: do not set pts for missing dts in video streams"Michael Niedermayer2014-03-021-4/+1
| | | | | | | | | | | | | | | | | | This reverts commit f65afef1df49f53e14c8d4173ff960fff8d44ecb. If only pts is coded then dts must be equal pts See Rec. ITU-T H.222.0 (06/2012) / ISO/IEC 13818-1:2013 (E) 2.7.5 Found-by: Baptiste Coudurier
* | avformat/oggparsevorbis: check packet size before reading new_len from itMichael Niedermayer2014-03-021-1/+1
| | | | | | | | | | | | | | Fixes out of array read Fixes: 34260c7981118fb38fba61809bf4dd5a-asan_heap-oob_93b923_1508_cov_951051643_DivX640x480_oggvorbis.avi Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
* | avformat/avidec: Use a buffer with sufficient padding in read_gab2_sub()Michael Niedermayer2014-03-021-3/+11
| | | | | | | | | | | | | | Fixes out of array read Fixes: 0ff9841c2a102f06e0d582bfc3376cbd-asan_heap-oob_495589_6836_cov_1763916974_mewmew_ssa.avi Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
* | avformat/mp3dec: optimize mp3_seek() for dir < 0Michael Niedermayer2014-03-021-0/+2
| | | | | | | | | | | | this minimizes the amount of protocol seeks and reading needed in that case Signed-off-by: Michael Niedermayer <[email protected]>
* | avformat/aviobuf: optimize sequential backward seekingMichael Niedermayer2014-03-011-1/+12
| | | | | | | | | | | | This reduces the number of protocol seeks Signed-off-by: Michael Niedermayer <[email protected]>
* | avformat/aviobuf: factorize buffer_size outMichael Niedermayer2014-03-011-2/+4
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | HLS: Handle the case when hls_list_size=0. Playlist file should contain all ↵Senthilnathan M2014-03-011-2/+2
| | | | | | | | | | | | | | the segments. Fixes bug #3376. Signed-off-by: Senthilnathan M <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | avformat/ac3dec: Use avpriv_ac3_parse_header2()Michael Niedermayer2014-03-011-8/+9
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | lavf/ftp: fix seek to nagative positionLukasz Marek2014-02-281-3/+5
| | | | | | | | Signed-off-by: Lukasz Marek <[email protected]>
* | lavf/libssh: fix seek to nagative positionLukasz Marek2014-02-281-0/+5
| | | | | | | | Signed-off-by: Lukasz Marek <[email protected]>
* | Fix http authentication.Carl Eugen Hoyos2014-02-271-1/+1
| | | | | | | | | | | | | | | | | | | | Add parenthesis around "MD5" in the request string as required by RFC 2069. Fixes ticket #3417. Reported and tested by Haarman Analyzed-by: Eugen-Andrei Gavriloaie
* | avformat/mov: simplify code setting needs_parsingMichael Niedermayer2014-02-271-4/+0
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | avformat/sdr2: h264 stream needs parsingPaul B Mahol2014-02-261-0/+1
| | | | | | | | Signed-off-by: Paul B Mahol <[email protected]>
* | Read bits_per_coded_sample from V_MS/VFW/FOURCC mkv files.Carl Eugen Hoyos2014-02-261-0/+4
| | | | | | | | Fixes ticket #3425.
* | avformat/options_table: add named constants for avoid_negative_tsMichael Niedermayer2014-02-241-1/+5
| | | | | | | | | | | | | | Idea-by: ubitux Reviewed-by: Timothy Gu <[email protected]> Reviewed-by: Clément Bœsch <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | oggdec: validate VP8 keyframesJames Almer2014-02-241-2/+10
| | | | | | | | | | | | | | Fixes seeking with broken files Signed-off-by: James Almer <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | Support old qclp-in-mov files that do not store bytes_per_frame in the header.Carl Eugen Hoyos2014-02-231-0/+4
| | | | | | | | Fixes ticket #2649.
* | Support MPEG-2 video mov files with sample description mp2v.Carl Eugen Hoyos2014-02-231-0/+1
| |
* | avformat/movenc: shift positive timestamps to 0 if edit lists cannot be usedMichael Niedermayer2014-02-221-1/+1
| | | | | | | | | | | | Fix handling of timestamps which start far away from 0 Signed-off-by: Michael Niedermayer <[email protected]>
* | avformat/mux: support shifting timestamps so they start at 0Michael Niedermayer2014-02-222-2/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | avformat/nut: add bayer colorspacesPeter Ross2014-02-221-0/+13
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | avformat/utils: compute_pkt_fields: Fix DTS for the case where has_b_frames ↵Michael Niedermayer2014-02-222-4/+53
| | | | | | | | | | | | | | | | is too large but the correct one is constant Fixes issue1.m2ts Signed-off-by: Michael Niedermayer <[email protected]>
* | avformat/utils: reset pts_buffer in estimate_timings_from_pts()Michael Niedermayer2014-02-221-0/+4
| | | | | | | | | | | | This fixes the first few dts after find_stream_info Signed-off-by: Michael Niedermayer <[email protected]>
* | avformat/utils: factorize h264/hevc checks out in compute_pkt_fields()Michael Niedermayer2014-02-221-4/+4
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | SDR2 demuxerPaul B Mahol2014-02-223-0/+122
| | | | | | | | Signed-off-by: Paul B Mahol <[email protected]>
* | Do not warn about missing start time for unknown streams.Carl Eugen Hoyos2014-02-211-1/+3
| |
* | Only complain about missing frame rate for video streams.Carl Eugen Hoyos2014-02-211-0/+1
| |
* | avformat/movenc: assert that get_cluster_duration() value is validMichael Niedermayer2014-02-211-1/+6
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | avformat/movenc: check that the input timestamps are within the range that ↵Michael Niedermayer2014-02-211-0/+11
| | | | | | | | | | | | can be stored in mov Signed-off-by: Michael Niedermayer <[email protected]>
* | avformat/mov: make invalid sampledelta error more verboseMichael Niedermayer2014-02-201-1/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | lavf/mux: check av_dup_packet() return value.Nicolas George2014-02-201-1/+6
| | | | | | | | | | Signed-off-by: Nicolas George <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2014-02-201-2/+2
|\| | | | | | | | | | | | | | | | | | | | | * qatar/master: libavformat/mpegts: expose raw packet size Conflicts: libavformat/mpegts.c See: f9b997c337873dad99f7fd505588b260febaf32b Merged-by: Michael Niedermayer <[email protected]>
| * libavformat/mpegts: expose raw packet sizeLeandro Dorileo2014-02-191-0/+2
| | | | | | | | | | | | | | | | We cannot easily determine if an mpeg TS's packet size is DVHS, FEC or so on, for that we need to expose the internal raw_packet_size field. Signed-off-by: Anton Khirnov <[email protected]>
* | avformat/utils: av_guess_frame_rate() favor avg_frame_rate if r_frame_rate ↵Michael Niedermayer2014-02-191-2/+8
| | | | | | | | | | | | | | | | | | has a comparably unlikely value Fixes Ticket3399 Fixes Ticket2958 Signed-off-by: Michael Niedermayer <[email protected]>
* | avformat/movenc: simplify code, decrease difference to libavMichael Niedermayer2014-02-191-8/+7
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | Merge commit '1e142d5b4842dcb39fcb0e92e4aacbc9977bfa66'Michael Niedermayer2014-02-191-1/+1
|\| | | | | | | | | | | | | | | | | | | * commit '1e142d5b4842dcb39fcb0e92e4aacbc9977bfa66': movenc: Add a fallback fragmentation method for plain mp4 as well Conflicts: libavformat/movenc.c Merged-by: Michael Niedermayer <[email protected]>
| * movenc: Add a fallback fragmentation method for plain mp4 as wellMartin Storsjö2014-02-191-4/+2
| | | | | | | | | | | | | | Previously the default fragmentation method was only enabled if writing an ISM file. Signed-off-by: Martin Storsjö <[email protected]>
* | avformat/bink: Check return value of av_add_index_entry()Michael Niedermayer2014-02-171-2/+4
| | | | | | | | | | | | | | Fixes null pointer dereference Fixes: cdbf15cbd0a27cee958dd0b8800e452e-signal_sigsegv_737991_2083_cov_317652874_LBSTART.BIK Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2014-02-171-11/+7
|\| | | | | | | | | | | | | * qatar/master: doxygen: Replace @parblock syntax with manual linebreaks Merged-by: Michael Niedermayer <[email protected]>
| * doxygen: Replace @parblock syntax with manual linebreaksDiego Biurrun2014-02-171-11/+7
| | | | | | | | @parblock is only supported in very recent Doxygen versions.
* | Merge commit '4d7ab5cfebef91820af2933ef2f622ea598e6b53'Michael Niedermayer2014-02-172-0/+22
|\| | | | | | | | | | | | | | | | | | | * commit '4d7ab5cfebef91820af2933ef2f622ea598e6b53': doxygen: Add a number of missing function parameter descriptions Conflicts: libavformat/avformat.h Merged-by: Michael Niedermayer <[email protected]>
| * doxygen: Add a number of missing function parameter descriptionsDiego Biurrun2014-02-172-0/+22
| |
* | Merge remote-tracking branch 'lukaszmluki/master'Michael Niedermayer2014-02-171-0/+12
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lukaszmluki/master: lavd: add list devices API lavd/opengl_enc_shaders: fix gray* shader Conflicts: doc/APIchanges Merged-by: Michael Niedermayer <[email protected]>