Michael Niedermayer
bcd7f35717
avformat/segment: Use av_freep() avoid leaving stale pointers in memory
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 68fa549230 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2015-01-09 17:19:09 +01:00
Martin Storsjö
93cbdcd4d3
libavformat: Build hevc.o when building the RTP muxer
...
The RTP muxer enables the actual codepaths within sdp.c,
which depend on hevc.o since e5cfc8fd .
This fixes builds with --disable-everything --enable-muxer=rtp.
Signed-off-by: Martin Storsjö <martin@martin.st >
(cherry picked from commit fccfc22d1f )
2015-01-09 00:50:31 -03:00
Michael Niedermayer
9f8cdd520b
Add FFMPEG_VERSION into the binary libs
...
This simplifies identifying from which revision a binary of a lib came from
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 649c158e8c )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-22 03:17:56 +01:00
Michael Niedermayer
4400385d5f
avformat/mov: fix integer overflow of size
...
Fixes: case1_call_stack_overflow.mp4
Found-by: Michal Zalewski <lcamtuf@coredump.cx >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit be9ce6e10a )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-22 03:17:55 +01:00
Michael Niedermayer
d85e25fe0b
avformat/mov: check atom nesting depth
...
Fixes call stack overflow
Fixes: case1_call_stack_overflow.mp4
Found-by: Michal Zalewski <lcamtuf@coredump.cx >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit caa7a3914f )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-22 03:17:55 +01:00
Michael Niedermayer
23a17b4a3d
avformat/flvdec: Use av_freep() avoid leaving stale pointers in memory
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 91ea466551 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-22 03:17:55 +01:00
Michael Niedermayer
3a8ad4b878
avformat/hdsenc: Use av_freep() avoid leaving stale pointers in memory
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 16d763fa45 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-22 03:17:55 +01:00
Clément Bœsch
7e130ca5b4
avformat/rsd: make tag_buf string larger
...
av_get_codec_tag_string() uses more that 1 char for unprintable characters.
(cherry picked from commit edbbb11488 )
2014-12-19 18:01:31 -03:00
Clément Bœsch
f295f9488a
avformat/apngdec: make tag_buf string larger
...
av_get_codec_tag_string() uses more that 1 char for unprintable characters.
(cherry picked from commit d60fb4f794 )
2014-12-19 18:00:40 -03:00
Michael Niedermayer
3b3a3c3d44
avformat/utils: Do not update programs streams from program-less streams in update_wrap_reference()
...
Fixes Ticket3686
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit a29524bf2e )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-14 20:58:33 +01:00
Michael Niedermayer
13244abcd3
avformat/aviobuf: Check that avio_seek() target is non negative
...
Fixes out of array access
Suggested-by: Andrew Scherkus <scherkus@google.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit ed86dbd05d )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-14 17:42:16 +01:00
Michael Niedermayer
0e4efad93c
avformat/flvdec: fix potential use of uninitialized variables
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 0fadbd3623 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-10 13:42:29 +01:00
Michael Niedermayer
0103bc67fd
avformat/crypto: fix key vs iv typo
...
Fixes Ticket 4167
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 2d0117f816 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-09 20:08:03 +01:00
wm4
f7b5366657
avformat/matroskadec: fix handling of recursive SeekHead elements
...
When matroska_execute_seekhead() is called, it goes through the list of
seekhead entries and attempts to read elements not read yet. When doing
this, the parser can find further SeekHead elements, and will extend the
matroska->seekhead list. This can lead to a (practically) infinite loop
with certain broken files. (Maybe it can happen even with valid files.
The demuxer doesn't seem to check correctly whether an element has
already been read.)
Fix this by ignoring elements that were added to the seekhead field
during executing seekhead entries.
This does not fix the possible situation when multiple SeekHead elements
after the file header (i.e. occur after the "before_pos" file position)
point to the same elements. These elements will probably be parsed
multiple times, likely leading to bugs.
Fixes ticket #4162 .
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 6551acab68 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-07 23:04:23 +01:00
Carl Eugen Hoyos
36e7385d0e
Fix standalone compilation of the iec61883 input device.
...
(cherry picked from commit 963aa1daf8 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-04 01:58:28 +01:00
Lukasz Marek
650aa36f35
lavf/oggenc: use meaningful error codes
...
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com >
2014-12-03 22:20:22 +01:00
Michael Niedermayer
a6f730730b
avformat/rmdec: Check codec_data_size
...
Fixes infinite loop
Fixes Ticket4154
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-03 20:01:18 +01:00
Michael Niedermayer
eac5c7b837
avformat/aviobuf: Fix infinite loop in ff_get_line()
...
Fixes ticket4152
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-03 19:05:56 +01:00
Carl Eugen Hoyos
7a4be4315f
Support muxing 4k AVC Intra in mov.
...
Reported and tested by Rens Dijkshoorn, rens onlinemedia nl
2014-12-02 23:35:40 +01:00
Michael Niedermayer
d76adfae9c
Merge commit '8f8caca2242e1fe05f37493cfabcd3f4de198550'
...
* commit '8f8caca2242e1fe05f37493cfabcd3f4de198550':
Add support for BDAV/m2ts-mode muxing
Conflicts:
libavformat/mpegtsenc.c
See: 09a858da7d
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-02 22:42:35 +01:00
Michael Niedermayer
02444f02f1
Merge commit '3cec81f4d4f26b62bc2d22bb450bbf51ec3a7f09'
...
* commit '3cec81f4d4f26b62bc2d22bb450bbf51ec3a7f09':
mov: allocate the tag value dynamically
Conflicts:
libavformat/mov.c
See: f31445a82d
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-02 22:26:40 +01:00
Michael Niedermayer
781a5a392c
Merge commit 'e352b293712ff7cbde67eba3ce3f8510b037de09'
...
* commit 'e352b293712ff7cbde67eba3ce3f8510b037de09':
mov: Add an option for exporting all metadata
Conflicts:
libavformat/isom.h
libavformat/mov.c
libavformat/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-02 22:13:20 +01:00
Michael Niedermayer
d0b0fe6691
Merge commit '5639ed9abb58311f82cf3499b682d228290adb09'
...
* commit '5639ed9abb58311f82cf3499b682d228290adb09':
mov: do not truncate the language-prefixed tag
Conflicts:
libavformat/mov.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-02 21:45:44 +01:00
Michael Niedermayer
1537d0b432
Merge commit '604c9b1196c70d79bbbc1f23e75f6a8253a74da3'
...
* commit '604c9b1196c70d79bbbc1f23e75f6a8253a74da3':
rtsp: move the CONFIG_ macros to the beginning of the check
Conflicts:
libavformat/rtsp.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-02 21:39:05 +01:00
Fredrik Axelsson
8f8caca224
Add support for BDAV/m2ts-mode muxing
...
Signed-off-by: Fredrik Axelsson <fraxbe@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-02 15:28:22 +00:00
Thilo Borgmann
3cec81f4d4
mov: allocate the tag value dynamically
...
This allows to load metadata entries longer than 1024 bytes.
Displaying them is still limited to 1024 characters, but applications
can load them fully now.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2014-12-02 15:28:22 +00:00
Vittorio Giovara
e352b29371
mov: Add an option for exporting all metadata
2014-12-02 15:28:22 +00:00
Vittorio Giovara
5639ed9abb
mov: do not truncate the language-prefixed tag
2014-12-02 15:28:22 +00:00
Vittorio Giovara
604c9b1196
rtsp: move the CONFIG_ macros to the beginning of the check
...
With --disable-optimizations, the DCE of some compilers does not remove
such unused code, causing linking failure.
2014-12-02 15:28:22 +00:00
Benoit Fouet
d7716961a8
avformat/apngdec: exit probing when skipping is not possible.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-02 16:02:01 +01:00
Benoit Fouet
543fceba9c
apng: move shared header from avformat to avcodec.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-02 15:52:31 +01:00
Carl Eugen Hoyos
f151f5415a
lavf/qcp: Print unknown GUID on error.
2014-12-02 11:40:01 +01:00
Carl Eugen Hoyos
7f6515e491
Also print GUIDs as shown in the Windows registry to ease debugging.
2014-12-02 11:39:06 +01:00
Michael Niedermayer
24e7e0237b
avformat/crypto: Use av_memdup()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-02 02:01:11 +01:00
Christian Suloway
00d4013d9f
avformat/crypto: added encryption
...
Signed-off-by: Christian Suloway <csuloway@globaleagleent.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-02 01:46:10 +01:00
Michael Niedermayer
24fdf7334d
avformat/utils: Search harder for missing stream information in flv by default
...
Fixes Ticket4133
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-01 15:49:32 +01:00
Andreas Cadhalpun
b28652599d
doc: fix spelling errors
...
succesfully => successfully, reproducable => reproducible, specifiying => specifying, isnt => isn't, seperated => separated
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-01 00:31:06 +01:00
Michael Niedermayer
8653419e9d
avformat/mxfdec: Reset structural_components_count when allocation fails
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-11-30 23:25:19 +01:00
Mark Reid
e5d217f048
libavformat/mxfdec.c: initial support for EssenceGroups
...
Previous version reviewed-by: Tomas Härdin <tomas.hardin@codemill.se >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-11-30 23:14:06 +01:00
Michael Niedermayer
e74f2be1ed
avformat/riffdec: ask for samples with wav header size < 14
...
Based on commit by Hendrik Leppkes <h.leppkes@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-11-30 01:55:36 +01:00
Michael Niedermayer
27897d2ef6
Merge commit '491805636cef50d3f582bd345e1460eeb739ea48'
...
* commit '491805636cef50d3f582bd345e1460eeb739ea48':
rtmpproto: Fix a typo in a comment
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2014-11-28 22:01:45 +01:00
Martin Storsjö
491805636c
rtmpproto: Fix a typo in a comment
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2014-11-28 20:56:45 +02:00
Michael Niedermayer
f001a2bd34
Merge commit 'fcae9f212a6001d966c52dc22cd4b22e9851b428'
...
* commit 'fcae9f212a6001d966c52dc22cd4b22e9851b428':
dashenc: Avoid a VLA-like construct
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2014-11-28 12:52:13 +01:00
Michael Niedermayer
5ce070c16c
Merge commit 'a9d8d35e4833fc4dfbf557ce73c84e9ca6224427'
...
* commit 'a9d8d35e4833fc4dfbf557ce73c84e9ca6224427':
dashenc: Add options to make segment names configurable
Conflicts:
libavformat/dashenc.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2014-11-28 12:50:38 +01:00
Michael Niedermayer
21ff626ce0
Merge commit '01eac895ab350027467ffbe7278740f89ae8be75'
...
* commit '01eac895ab350027467ffbe7278740f89ae8be75':
rtmpproto: Only prepend @setDataFrame for onMetaData and |RtmpSampleAccess
Conflicts:
libavformat/rtmpproto.c
See: 60fd790f38
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2014-11-28 12:31:59 +01:00
Michael Niedermayer
900fff89c9
Merge commit '44127b157e9f8acb837d4bb3a094f56b40da3ef5'
...
* commit '44127b157e9f8acb837d4bb3a094f56b40da3ef5':
rtmppkt: Make pkt->data reallocable
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2014-11-28 12:14:26 +01:00
Michael Niedermayer
42a095d095
Merge commit '3c3b8003a13d9c3668c0bb6d79d2376da3b2b352'
...
* commit '3c3b8003a13d9c3668c0bb6d79d2376da3b2b352':
rtmpproto: Simplify code for copying data into the output packet
Conflicts:
libavformat/rtmpproto.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2014-11-28 11:57:33 +01:00
Michael Niedermayer
a105c1f204
Merge commit '857e6667f9061ae261c0b951113e4efc4329b05e'
...
* commit '857e6667f9061ae261c0b951113e4efc4329b05e':
rtmpproto: Clarify a comment
Conflicts:
libavformat/rtmpproto.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2014-11-28 11:35:08 +01:00
Martin Storsjö
fcae9f212a
dashenc: Avoid a VLA-like construct
...
This fixes the build on compilers that interpreted the earlier
code as a variable length array (which we intentionally disallow).
Signed-off-by: Martin Storsjö <martin@martin.st >
2014-11-28 11:55:42 +02:00
Bryan Huh
a9d8d35e48
dashenc: Add options to make segment names configurable
...
This allows one to specify templated segment names for init-segments,
media-segments, and for the base-url in the case of single-file.
Signed-off-by: Martin Storsjö <martin@martin.st >
2014-11-28 10:48:15 +02:00