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
2c01dd2ea5
Update Changelog for 2.5.1
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
n2.5.1
2014-12-15 23:52:03 +01:00
Michael Niedermayer
5e26152ee4
Update for FFmpeg 2.5.1
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-15 15:30:31 +01:00
wm4
135c733125
lavu/frame: fix malloc error path in av_frame_copy_props()
...
The error path frees all side data, but forgets to reset the side data
count. This can blow up later in av_frame_unref() and free_side_data().
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit a400edbb6d
)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-15 05:32:36 +01: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
Rob Sykes
9783d5bfda
swresample/soxr_resample: fix error handling
...
Fixes CID1257659
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 4b6f225374
)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-13 22:20: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
Moritz Barsnick
d5af3fb1c5
configure: use use_pkg_config() instead of check_pkg_config() for libsmbclient
...
This ensures that the CFLAGS and LDFLAGS are actually applied.
Fixes an incorrect change introduced with the clean-up in commit
cfcaf6b38e
.
Reviewed-by: Nicolas George <george@nsup.org >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 754f4957d7
)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-09 01:04:32 +01:00
Rong Yan
6ec5a199ea
avcodec/ppc/vp3dsp_altivec: POWER LE support to vp3_idct_add_altivec()
...
add GET_VDST16() macro
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 9bd8f2cc32
)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-08 15:30: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
Piotr Fusik
542332e523
doc/examples/filtering_video: fix frame rate
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit c99e5191ab
)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-05 17:36:19 +01:00
Michael Niedermayer
aa24dd487f
avcodec/mpegaudiodec_template: only allocate fdsp when its used
...
Fixes memleak
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit a7ebd0b011
)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-05 05:16:14 +01:00
Michael Niedermayer
3bcd1daad7
doc/examples/transcoding: check encoder before using it
...
Fixes null pointer exception
Found-by: stoupeace
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit bde27e1e61
)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-04 19:08:32 +01:00
Michael Niedermayer
91f88eab32
MAINTAINERS: add 2.5
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit a4f21a8dd9
)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-04 14:48:20 +01:00
Rong Yan
aac467ae17
avcodec/ppc/vp8dsp_altivec.c: POWER LE support put_vp8_epel_h_altivec_core() put_vp8_epel_v_altivec_core() put_vp8_pixels16_altivec() add marcos GET_PIXHL() GET_OUTER() LOAD_HL()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit d23e883248
)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-04 14:48:19 +01:00
Rong Yan
968e733b2e
avcodec/ppc/vc1dsp_altivec: add POWER LE support to vc1_inv_trans_8x4_altivec()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 36cd2bcbc3
)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-04 12:09:38 +01:00
Timothy Gu
192d46e6d1
Update RELEASE_NOTES
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-04 06:06:18 +01:00
Timothy Gu
bb8614cb7b
Changelog/RELEASE_NOTES: Add APNG decoder
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com >
2014-12-04 06:06:07 +01:00
Michael Niedermayer
d9bdf7d9ae
Changelog: release is 2.5 not "next"
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
n2.5
2014-12-04 02:16:55 +01:00
Michael Niedermayer
a588e1e560
avcodec/aacdec: reduce noisiness of missing channel elements
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 5fe026f2bd
)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-04 01:58:32 +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
Michael Niedermayer
5108323aa9
Update for 2.5
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-04 00:47:17 +01:00
Benoit Fouet
1d69ab9d1c
avcodec/pngdec: fix indentation in handle_row()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-04 00:31:11 +01:00
Benoit Fouet
6e9b060e4f
avcodec/pngdec: fix mem leak in init()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-04 00:30:54 +01:00
Benoit Fouet
08aec6f68e
libavcodec/pngdec: support 'previous' dispose operation for APNG.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-04 00:30:38 +01:00
Reimar Döffinger
49d9cbe55d
h264_i386: Fix operand size
...
Fixes fate failure on macosx clang x86-64
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-03 23:03:13 +01:00
Michael Niedermayer
dac9e50902
RELEASE_NOTES: update for 2.5
...
If you spot something missing wrong or improvable, do not hesitate
to push fixes
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-03 22:40:02 +01:00
Michael Niedermayer
43520771f1
doc/APIchanges: fill in hashes and dates
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-03 22:40:02 +01:00
Michael Niedermayer
1027a44681
Changelog: Add libpostproc visualization
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-03 22:40:02 +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
8524558858
swscale/x86/rgb2rgb_template: fix crash with tiny size and nv12 output
...
Fixes Ticket4151
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-03 20:21:56 +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
Jonathan Baecker
868cec5874
avdevice/decklink_common: fix COM initialization failure check
...
Signed-off-by: Jonathan Baecker <jonbae77@gmail.com >
Reviewed-by: Ramiro Polla <ramiro.polla@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-03 18:47:24 +01:00
Michael Niedermayer
534f901fca
avcodec/atrac3plusdec: Use avpriv_float_dsp_alloc()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-03 14:52:38 +01:00
Michael Niedermayer
c5dc8cc03a
avcodec/mpegaudiodec_float: Use avpriv_float_dsp_alloc()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-03 14:52:38 +01:00
Michael Niedermayer
e316caf712
avcodec/opusdec: Use avpriv_float_dsp_alloc()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-03 14:52:38 +01:00
Christophe Gisquet
9fa056ba75
pngdsp x86: use unaligned access
...
For test images manually generated to contain only up prediction,
timing results:
8380x3032 255x185
before: 138635 1992
after: 139232 1996
Actually jumping to the proper version depending on the alignment:
8380x3032: 138767
A 0.5% speed improvement for gigantic images is not worth the code
duplication.
Fixes ticket #4148
Signed-off-by: Christophe Gisquet <christophe.gisquet@gmail.com >
Tested-by: Benoit Fouet <benoit.fouet@free.fr >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-03 11:56:22 +01:00
Michael Niedermayer
242f1152bf
ffmpeg: drop usage of coded_frame
...
It causes all kinds of problems and there is no code in the muxers that reads
this field
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-03 03:06:43 +01:00
Jonathan Baecker
5a57f389f4
avdevice/decklink_common: fix heap corruption run time error
...
Signed-off-by: Jonathan Baecker <jonbae77@gmail.com >
Reviewed-by: Ramiro Polla <ramiro.polla@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-03 00:41:10 +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
ebc29e8625
Merge commit '2e0935965b824bc641b7e0bafafcbb1e36027f79'
...
* commit '2e0935965b824bc641b7e0bafafcbb1e36027f79':
Drop the unofficial extension prefix for MPEG and MPEG-TS formats
See: fdcb2873e1
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-02 22:56:07 +01:00
Michael Niedermayer
b329460c51
Merge commit '7319a47c7e7931ebf8f475cc2cffc7bcd333acee'
...
* commit '7319a47c7e7931ebf8f475cc2cffc7bcd333acee':
mpegtsenc: recognize .mts as MPEG Transport Stream
Conflicts:
libavformat/mpegtsenc.c
See: e2baaa21aa
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-02 22:53:22 +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
fc469e5c7f
Merge commit '26e20dfd06ac62da596a9549867f990f1200a04e'
...
* commit '26e20dfd06ac62da596a9549867f990f1200a04e':
options_table: fix colorspace minimum option value
See: 8c28a39c2c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2014-12-02 22:35:44 +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
Lukasz Marek
302ed9c43f
ffserver_config: print warning when using default value
...
Some of the defaults may be harmful (like buffer size).
It is good user is aware of that.
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com >
2014-12-02 21:58:35 +01:00