summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
* avformat/tedcaptionsdec: add () to protect the argument of ERR_CODE()Michael Niedermayer2015-02-17
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avformat/mpc8: Add () to protect MKMPCTAG()s argumentsMichael Niedermayer2015-02-16
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avformat/tls: add () to protect macro argumentsMichael Niedermayer2015-02-16
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* hls: fix a null pointer dereferencewm42015-02-16
| | | | | | | | | Not allocating the pls->ctx will crash in libavformat/hls.c:1410, where it tries to dereference the field. Sample: http://ec24.rtp.pt/liverepeater/rtpn.smil/playlist.m3u8 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avformat/rtpdec_h264: fix compile failure with -DDEBUGKevin Wheatley2015-02-16
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avformat/mov: Bypass av_add_index_entry()Michael Niedermayer2015-02-16
| | | | | | | | | The new mov code uses a temporally non sorted index since 4abfa387b8234736f6e0e541951e3d5eb60eb843 and can thus no longer be filled with av_add_index_entry() which expects the index to be sorted. Reverting 4abfa387b8234736f6e0e541951e3d5eb60eb843 and this commit would be a alternative fix as would be various other options. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit '4abfa387b8234736f6e0e541951e3d5eb60eb843'Michael Niedermayer2015-02-16
|\ | | | | | | | | | | | | | | | | | | * commit '4abfa387b8234736f6e0e541951e3d5eb60eb843': mov: Change DTS-based seek into CTS-based seek. Conflicts: libavformat/mov.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * mov: Change DTS-based seek into CTS-based seek.Yusuke Nakamura2015-02-15
| | | | | | | | | | | | | | | | | | | | | | | | | | CTS-based seek is reasonable since player requests frames in output order not coded order. This change fixes seek to a keyframe within consecutive keyframes. Let's say P[0|-1] and P[1|0], here x and y inside [x|y] are PTS and DTS respectively, and both two frames are a keyframe. If you try to seek on PTS=0, i.e. P[0|-1], you'll get P[1|0] if the demuxer is DTS based. This is obviously undesirable. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit 'e1a57cbb1c2752feb9315f748836dc44e58d2dc6'Michael Niedermayer2015-02-15
|\| | | | | | | | | | | | | * commit 'e1a57cbb1c2752feb9315f748836dc44e58d2dc6': ape: Use the proper variable type Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ape: Use the proper variable typeLuca Barbato2015-02-15
| | | | | | | | | | | | | | Avoid an unsigned underflow. Bug-Id: 1041122 CC: libav-stable@libav.org
| * ogg: check memory allocationsFederico Tomassetti2015-02-15
| | | | | | | | | | | | | | Bug-Id: CID 1257795 CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Merge commit '53367b34e1156614e82ef7af888928f322566f88'Michael Niedermayer2015-02-15
|\| | | | | | | | | | | | | | | | | | | * commit '53367b34e1156614e82ef7af888928f322566f88': rtp: h264: Drop the asserts Conflicts: libavformat/rtpdec_h264.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * rtp: h264: Drop the assertsLuca Barbato2015-02-15
| |
* | Merge commit '3b33dfb23c5022a0cb2a7b13878e4a3492a996c7'Michael Niedermayer2015-02-15
|\| | | | | | | | | | | | | * commit '3b33dfb23c5022a0cb2a7b13878e4a3492a996c7': rtp: h264: Move FU-A NAL parsing to a function Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * rtp: h264: Move FU-A NAL parsing to a functionLuca Barbato2015-02-15
| |
* | Merge commit 'f0a87479960ce000f23f2beaf474707797b4b0d0'Michael Niedermayer2015-02-15
|\| | | | | | | | | | | | | * commit 'f0a87479960ce000f23f2beaf474707797b4b0d0': rtp: h264: Move STAP-A NAL parsing to a function Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * rtp: h264: Move STAP-A NAL parsing to a functionLuca Barbato2015-02-15
| |
* | Merge commit 'a9a0b8d6c14ece1b4698c6ede9227aca980f6c5b'Michael Niedermayer2015-02-15
|\| | | | | | | | | | | | | * commit 'a9a0b8d6c14ece1b4698c6ede9227aca980f6c5b': rtp: h264: Move parse_sprop_parameter_sets parsing to a function Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * rtp: h264: Move parse_sprop_parameter_sets parsing to a functionLuca Barbato2015-02-15
| |
* | Merge commit 'b8df0b71c525e9fc9fbee790d093bae3aa62035c'Michael Niedermayer2015-02-15
|\| | | | | | | | | | | | | * commit 'b8df0b71c525e9fc9fbee790d093bae3aa62035c': rtp: h264: Move profile_level_id parsing to a function Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * rtp: h264: Move profile_level_id parsing to a functionLuca Barbato2015-02-15
| |
| * mov: Fix compilation with DEBUG enabledDiego Biurrun2015-02-14
| |
* | avformat/version: Bump version for "avformat/rtpdec: DV depacketizer (RFC 6469)"Michael Niedermayer2015-02-15
| | | | | | | | | | Found-by: Loriker Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/rtpdec: DV depacketizer (RFC 6469)Thomas Volkert2015-02-15
| | | | | | | | | | | | Tested with live555 RTSP server Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | rtpdec: experimental VP9 depacketizer (draft 0)Thomas Volkert2015-02-15
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/matroskaenc: add allow_raw_vfw and disable it by defaultMichael Niedermayer2015-02-15
| | | | | | | | | | | | Based on complaint by wm4 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'daf8cf358a098a903d59adb6c0d0cc3262a8c93e'Michael Niedermayer2015-02-14
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'daf8cf358a098a903d59adb6c0d0cc3262a8c93e': avformat: Don't anonymously typedef structs Conflicts: libavformat/adtsenc.c libavformat/aiffenc.c libavformat/avidec.c libavformat/gif.c libavformat/iff.c libavformat/img2dec.c libavformat/jvdec.c libavformat/matroskadec.c libavformat/udp.c libavformat/wtvdec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avformat: Don't anonymously typedef structsDiego Biurrun2015-02-14
| |
* | avformat/gif: use first packet palette as global for PAL8Clément Bœsch2015-02-14
| | | | | | | | | | This will allow the payload in PAL8 packets to not contain 768B of local palette (which is not LZW compressed).
* | avformat/gif: simplify gif_image_write_header() prototypeClément Bœsch2015-02-14
| |
* | avformat/rtpdec_ac3: add AC3 RTP depacketization (RFC 4184)Gilles Chanteperdrix2015-02-14
| | | | | | | | | | | | Signed-off-by: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org> Reviewed-by: Thomas Volkert <silvo@gmx.net> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/rtpdec_mpeg12: add robust MPEG audio depacketization (RFC 5219)Gilles Chanteperdrix2015-02-14
| | | | | | | | | | Reviewed-by: Thomas Volkert <silvo@gmx.net> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/matroskaenc: Do not use native mode for raw RGBMichael Niedermayer2015-02-14
| | | | | | | | | | | | This fixes generating totally unplayable files Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/matroskaenc: fix handling of VFW style raw rgbMichael Niedermayer2015-02-14
| | | | | | | | | | | | raw rgb uses 0 as codec tag in "VFW", the code assumed 0 means error Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/mov: print a warning if parsing udta failedMichael Niedermayer2015-02-14
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/mov: Heuristically detect raw udtaMichael Niedermayer2015-02-13
| | | | | | | | | | | | Fixes tkhd+moov fragment provided by koda Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/rtsp: parse lang attribute in SDPGilles Chanteperdrix2015-02-13
| | | | | | | | | | Reviewed-by: Thomas Volkert <silvo@gmx.net> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/rtpdec: add T.140 RTP depacketization (RFC 4103)Gilles Chanteperdrix2015-02-13
| | | | | | | | | | Reviewed-by: Thomas Volkert <silvo@gmx.net> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/rtsp: allow receiving subtitles via RTPGilles Chanteperdrix2015-02-13
| | | | | | | | | | Reviewed-by: Thomas Volkert <silvo@gmx.net> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/mpegtsenc: Do not create invalid files from annex b streams without ↵Michael Niedermayer2015-02-12
| | | | | | | | | | | | | | | | | | | | SPS/PPS use global headers to create SPS/PPS when they are available Fixes Ticket4248 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | rtpdec_hevc: correct parsing of aggregated packetsThomas Volkert2015-02-12
| | | | | | | | | | | | reported by tim dot yao at amlogic dot com Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/matroskadec: fix IGNIDX handlingwm42015-02-12
| | | | | | | | | | | | | | | | | | | | | | Just because the user requested the seek index to be ignored, we can't just skip essential headers. At least tags are often located at the end of the file, and the old code simply ignored the seekhead for all elements, not just the cue index. Also, it looks like it used the index even if IGNIDX was set if the cue index was located in the beginning of the file. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | matroska: redo seekhead handlingwm42015-02-12
| | | | | | | | | | | | | | | | | | | | | | In particular, this reads chained seekheads. This makes seeking faster in files which have the index indirectly linked through 2 seekheads. As a side-effect, this warns when reading level-1 (toplevel) elements multiple times (other than seekheads, clusters, and void/crc). Such elements are not valid and likely break everything. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/isom: add X-Com Radvision fourccPaul B Mahol2015-02-11
| | | | | | | | | | | | Fixes bug #4303. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | Merge commit '9deaec782810d098bca11c9332fab2d2f4c5fb78'Michael Niedermayer2015-02-11
|\| | | | | | | | | | | | | | | | | | | | | | | | | * commit '9deaec782810d098bca11c9332fab2d2f4c5fb78': lavf: move internal fields from public to internal context Conflicts: libavformat/avformat.h libavformat/internal.h libavformat/mux.c libavformat/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavf: move internal fields from public to internal contextwm42015-02-10
| | | | | | | | | | | | | | This is not an API change; the fields were explicitly declared private before. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | Merge commit '1509c018bd5b054a2354e20021ccbac9c934d213'Michael Niedermayer2015-02-11
|\| | | | | | | | | | | | | | | | | | | * commit '1509c018bd5b054a2354e20021ccbac9c934d213': mpegts: relax restrictions on matching the packet start in read_header Conflicts: libavformat/mpegts.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * mpegts: relax restrictions on matching the packet start in read_headerAnton Khirnov2015-02-10
| | | | | | | | | | | | | | | | | | | | | | analyze() is currently called both when probing and from read_header(). It determines the packet start by looking for the sync byte, followed by unset Transport Error Indicator and valid adaptation_field_control. This makes sense to do when probing, but once we already know the format is MPEG-TS, it is counterproductive to be so strict -- e.g. in some files the TEI might be set and analyze() might get called with a smaller buffer than the one used for probing, resulting in a failure.
* | Merge commit '6a5b8ca4329039fad44ad50b6496948f4bfacb4c'Michael Niedermayer2015-02-11
|\| | | | | | | | | | | | | | | | | | | | | * commit '6a5b8ca4329039fad44ad50b6496948f4bfacb4c': lavf: remove unused code Conflicts: libavformat/seek.c libavformat/seek.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavf: remove unused codewm42015-02-08
| | | | | | | | | | | | | | | | | | | | | | | | | | Nothing uses it, and it provides no public API. Archeological finds: Commit 101036adb9 added the API. Commit a8dd8dc6e9 made mpegts.c use it. Commit af8aae3fa3 disabled it by default in mpegts.c. Commit ae2bb52cd2 removed all uses of this from mpegts.c. Signed-off-by: Anton Khirnov <anton@khirnov.net>