]>
git.sesse.net Git - ffmpeg/log
Michael Niedermayer [Thu, 26 Jun 2014 19:55:11 +0000 (21:55 +0200)]
Merge commit '
294daf71a7a1303b5ddd3cbefebed3b732d610f3 '
* commit '
294daf71a7a1303b5ddd3cbefebed3b732d610f3 ':
output example: use a struct to bundle the video stream variables together
Conflicts:
doc/examples/muxing.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Thu, 26 Jun 2014 19:28:54 +0000 (21:28 +0200)]
Merge commit '
38d044429dabcd28928693240e955c6d4430cca9 '
* commit '
38d044429dabcd28928693240e955c6d4430cca9 ':
output example: use the new AVFrame API for allocating the video frame
Conflicts:
doc/examples/muxing.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Thu, 26 Jun 2014 19:01:18 +0000 (21:01 +0200)]
Merge commit '
3f4edf012593c73941caa0ef9b292da00225c3df '
* commit '
3f4edf012593c73941caa0ef9b292da00225c3df ':
dump_stream: print the timebase as is, do not reduce it
See:
75511c293add07db1cca58dcd8b08c33fc2f1075
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Thu, 26 Jun 2014 18:56:23 +0000 (20:56 +0200)]
Merge commit '
1b04eb20f7e3f0a71f73ba91efcc3d60a435e443 '
* commit '
1b04eb20f7e3f0a71f73ba91efcc3d60a435e443 ':
lavc: do not allocate edges in the default get_buffer2()
Conflicts:
libavcodec/utils.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Thu, 26 Jun 2014 18:44:21 +0000 (20:44 +0200)]
avcodec/snow: ensure the buffers have allocated edges
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Thu, 26 Jun 2014 18:10:01 +0000 (20:10 +0200)]
Merge commit '
a0e1c3517a656dd32293f054a339e0ac73328138 '
* commit '
a0e1c3517a656dd32293f054a339e0ac73328138 ':
hevc: remove unused array min_cb_addr_zs
Conflicts:
libavcodec/hevc_ps.c
See:
f7f1f4c7ce9ce689823e13a53b694eb14cbbf6e7
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Thu, 26 Jun 2014 17:56:42 +0000 (19:56 +0200)]
Merge commit '
9b60d9197970658e91daf4b586397f450de9af69 '
* commit '
9b60d9197970658e91daf4b586397f450de9af69 ':
hevc: Allow out of bound values for num_reorder_pics
Conflicts:
libavcodec/hevc_ps.c
See:
bc21260e643c2249e38f7485bceada1d4bbb2b9a
See:
ab296c7a9fe590860dc95ba97e9cbb9dde798f20
Merged-by: Michael Niedermayer <michaelni@gmx.at>
James Almer [Mon, 23 Jun 2014 18:51:53 +0000 (15:51 -0300)]
x86/videodsp: add emulated_edge_mc_mmxext
This also changes hfix8_mmx and above to use mmx regs instead of
gprs, and makes emulated_edge_mc_sse and emulated_edge_mc_sse2 use
mmxext hfix and hvar functions instead of mmx where possible.
This is mostly in preparation for an ssse3 version.
Signed-off-by: James Almer <jamrial@gmail.com>
code is about 1 cpu cycle faster approximately
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Anton Khirnov [Sat, 21 Jun 2014 15:17:40 +0000 (17:17 +0200)]
output example: use a struct to bundle the video stream variables together
Anton Khirnov [Mon, 16 Jun 2014 11:20:51 +0000 (13:20 +0200)]
output example: use the new AVFrame API for allocating the video frame
Anton Khirnov [Tue, 24 Jun 2014 05:39:35 +0000 (07:39 +0200)]
dump_stream: print the timebase as is, do not reduce it
It makes more sense to print the timebase exactly as it is set. Also,
this avoids a divide by zero when av_dump_format() is called on a format
context before writing the header.
Anton Khirnov [Fri, 20 Dec 2013 15:00:07 +0000 (16:00 +0100)]
lavc: do not allocate edges in the default get_buffer2()
Gildas Cocherel [Wed, 25 Jun 2014 19:08:12 +0000 (21:08 +0200)]
hevc: remove unused array min_cb_addr_zs
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Yao Wang [Thu, 19 Jan 2012 12:39:47 +0000 (20:39 +0800)]
avcodec/cavs: fix B_SUB_DIRECT col-MB is Intra MB case.
in this case current MB size is forced to 16x16 (AVS standard section 9.9.1)
Signed-off-by: Yao Wang <jiayaowang@gmail.com>
Fixes Ticket 1901
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Kieran Kunhya [Sun, 15 Jun 2014 21:44:15 +0000 (23:44 +0200)]
hevc: Allow out of bound values for num_reorder_pics
This fixes decoding for a sample that cannot be shared
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Michael Niedermayer [Thu, 26 Jun 2014 01:15:55 +0000 (03:15 +0200)]
Merge commit '
593d2326ef985cdffe413df629419938f7b07c4c '
* commit '
593d2326ef985cdffe413df629419938f7b07c4c ':
dv: Replace a magic number by sizeof()
Conflicts:
libavcodec/dv.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Thu, 26 Jun 2014 00:58:31 +0000 (02:58 +0200)]
Merge commit '
5ab03e41e553452118113d0c224fa32b325e45e5 '
* commit '
5ab03e41e553452118113d0c224fa32b325e45e5 ':
x86: h264dsp: Fix link failure with optimizations disabled
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Gaullier Nicolas [Wed, 25 Jun 2014 10:29:30 +0000 (10:29 +0000)]
avformat/mxfenc: set/force channelcount in MXF D-10
There are interoperability issues with D-10 related to the channelcount property in the generic sound essence descriptor.
On one side, SMPTE 386M requires channel count to be 4 or 8, other values being prohibited.
The most widespread value is 8, which seems straightforward as it is the actual size of the allocated structure/disk space.
At the end, it appears that some vendors or workflows do require this descriptor to be 8, and otherwise just "fail".
On the other side, at least AVID and ffmpeg do write/set the channel count to the exact number of channels really "used",
usually 2 or 4, or any other value. And on the decoding side, ffmpeg (for example) make use of the channel count for probing
and only expose this limited number of audio streams
(which make sense but has strong impact on ffmpeg command line usage, output, and downstream workflow).
At the end, I find it pretty usefull to simply give ffmpeg the ability to force/set the channel count to any value the user wants.
(there are turnaround using complex filters, pans, amerge etc., but it is quite boring and requires the command line to be adapted to the input file properties)
Reviewed-by: Matthieu Bouron <matthieu.bouron@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diego Biurrun [Fri, 7 Feb 2014 09:42:35 +0000 (10:42 +0100)]
dv: Replace a magic number by sizeof()
Diego Biurrun [Wed, 25 Jun 2014 11:35:30 +0000 (04:35 -0700)]
x86: h264dsp: Fix link failure with optimizations disabled
With optimzations disabled compilers have trouble doing dead code
elimination on 'if (foo && 0)' expressions, while 'if (0 && foo)'
still works, so use the latter to avoid problems.
Bug-Id: 707
Michael Niedermayer [Wed, 25 Jun 2014 16:10:12 +0000 (18:10 +0200)]
avfilter/x86/vf_pullup: fix old typo
This makes C and MMX match, no change to fate as the differences where
apparently not sufficient to show up in fate
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Wed, 25 Jun 2014 15:49:03 +0000 (17:49 +0200)]
avfilter/vf_pullup: use ptrdiff_t as stride argument for dsp functions
This should avoid issues on x86_64
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Wed, 25 Jun 2014 13:08:30 +0000 (15:08 +0200)]
avcodec/x86/hevc_idct: fix function name in comment
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
plepere [Mon, 16 Jun 2014 12:47:21 +0000 (14:47 +0200)]
avcodec/x86/hevc_idct: fix number of sse registers
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
plepere [Mon, 16 Jun 2014 12:47:21 +0000 (14:47 +0200)]
avcodec/x86/hevc: add avx2 dc idct
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Lukasz Marek [Tue, 24 Jun 2014 22:40:09 +0000 (00:40 +0200)]
doc/build_system: document examples and config targets
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 24 Jun 2014 20:25:50 +0000 (22:25 +0200)]
Merge remote-tracking branch 'cus/stable'
* cus/stable:
ffplay: decrease audio_diff_threshold
ffplay: decrease max audio callbacks per second
ffplay: calculate SDL audio buffer size based on sample rate
ffplay: pass simple integers to calculate_display_rect and set_default_window_size
ffplay: eliminate pictq_prev_picture
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 24 Jun 2014 20:03:21 +0000 (22:03 +0200)]
Merge commit '
2deb614272e6faad8802c5341971d08c7272f74d '
* commit '
2deb614272e6faad8802c5341971d08c7272f74d ':
mjpegdec: Properly set the context colorspace info
See:
c11043aca7365add6c4c80b7cff80d22dde0eb94
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Marton Balint [Sun, 22 Jun 2014 15:06:55 +0000 (17:06 +0200)]
ffplay: decrease audio_diff_threshold
Since audio clock calculations are more accurate now, it is safe to decrease
the sync treshold to compensate the larger buffers caused by less frequent
audio callbacks.
Signed-off-by: Marton Balint <cus@passwd.hu>
Marton Balint [Sat, 14 Jun 2014 15:23:40 +0000 (17:23 +0200)]
ffplay: decrease max audio callbacks per second
Too many audio callbacks per second can cause buffer underruns especially under
load. As now we take into accound the elapsed time after an audio callback when
determining current audio clock, it is not that important to use small buffer
sizes and frequent audio callbacks, so lets remove the comment.
Signed-off-by: Marton Balint <cus@passwd.hu>
Marton Balint [Sun, 25 May 2014 00:41:09 +0000 (02:41 +0200)]
ffplay: calculate SDL audio buffer size based on sample rate
Signed-off-by: Marton Balint <cus@passwd.hu>
Marton Balint [Sat, 24 May 2014 15:11:26 +0000 (17:11 +0200)]
ffplay: pass simple integers to calculate_display_rect and set_default_window_size
No change in functionality.
Signed-off-by: Marton Balint <cus@passwd.hu>
Marton Balint [Wed, 27 Nov 2013 23:13:38 +0000 (00:13 +0100)]
ffplay: eliminate pictq_prev_picture
Instead of directly rolling back the frame queue, keep the last displayed
picture in the queue and use a boolean variable to keep track if it is
displayed or not. This makes the code cleaner because it removes the
complicated logic in pictq_prev_picture.
There should be no change in functionality.
Signed-off-by: Marton Balint <cus@passwd.hu>
Michael Niedermayer [Tue, 24 Jun 2014 19:43:22 +0000 (21:43 +0200)]
avfilter/vf_deshake: fix macro ()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 24 Jun 2014 19:40:57 +0000 (21:40 +0200)]
avfilter/vf_colormatrix: fix macro ()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Derek Buitenhuis [Tue, 24 Jun 2014 16:38:54 +0000 (17:38 +0100)]
mjpegdec: Properly set the context colorspace info
The JPEG spec requires it to be this.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Derek Buitenhuis [Tue, 24 Jun 2014 16:38:54 +0000 (17:38 +0100)]
mjpegdec: Properly set the context colorspace info
The JPEG spec requires it to be this.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Michael Niedermayer [Tue, 24 Jun 2014 16:32:14 +0000 (18:32 +0200)]
avformat/nutdec: improve probe speed by 30%
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 24 Jun 2014 11:51:40 +0000 (13:51 +0200)]
avformat/wavenc: simplify malloc failure checking
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 24 Jun 2014 11:50:38 +0000 (13:50 +0200)]
avformat/wavenc: more specific error return for "Writing 16 bit peak for 8 bit audio"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 24 Jun 2014 11:37:31 +0000 (13:37 +0200)]
avformat/wavenc: do not hardcode array size in memset and other functions
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 24 Jun 2014 11:32:27 +0000 (13:32 +0200)]
avformat/wavenc: use the bitexact flag from avformat instead of the one from avcodec
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
gcocherel [Tue, 24 Jun 2014 06:27:16 +0000 (08:27 +0200)]
hevc/pps: optimized size of min_tb_addr_zs
reduce computation too
(cherry picked from commit
39c4d45c7788081c45c7fae51b7c5d0bcbaece9d )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
gcocherel [Thu, 19 Jun 2014 09:21:38 +0000 (11:21 +0200)]
avcodec/hevc_ps: remove min_cb_addr_zs
(cherry picked from commit
ff7926d5092f9d4158108963e977e8c992322ba4 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Georg Lippitsch [Sat, 21 Jun 2014 17:20:40 +0000 (19:20 +0200)]
Peak Envelope Chunk encoder: Indent
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Georg Lippitsch [Sat, 21 Jun 2014 17:20:39 +0000 (19:20 +0200)]
EBU Tech 3285 - Supplement 3 - Peak Envelope Chunk encoder
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 24 Jun 2014 01:09:08 +0000 (03:09 +0200)]
avfilter/vf_hqx: optimize table init
5389024880 ->
1389386610 dezicycles
This surely can be optimized more, i just didnt want to cause a slowdown
when trying to make the fate test bitexact.
Further optimization left to ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 24 Jun 2014 00:32:37 +0000 (02:32 +0200)]
avfilter/vf_hqx: avoid floats
this likely fixes fate failures
2748170880 ->
5389024880 dezicycles
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 24 Jun 2014 00:10:30 +0000 (02:10 +0200)]
avcodec/x86/h264_qpel_10bit: locally define pb_0
somehow old llvm-gcc manages to ignore the alignment from ff_pb_0 causing a crash on freebsd
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Mon, 23 Jun 2014 23:54:39 +0000 (01:54 +0200)]
avcodec/h264: do not leave ret random on minor failures, causing major failure
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Mon, 23 Jun 2014 23:45:59 +0000 (01:45 +0200)]
Merge commit '
772d150a6e82542c06b0c251e73dd299d98d1027 '
* commit '
772d150a6e82542c06b0c251e73dd299d98d1027 ':
h264: error out from decode_nal_units() when AV_EF_EXPLODE is set
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Mon, 23 Jun 2014 23:21:23 +0000 (01:21 +0200)]
Michael Niedermayer [Mon, 23 Jun 2014 23:09:38 +0000 (01:09 +0200)]
Merge commit '
ab72eda15e98197cf148abc08574206cfde0d9b0 '
* commit '
ab72eda15e98197cf148abc08574206cfde0d9b0 ':
pixfmt: mark the reserved values
Conflicts:
libavutil/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Vittorio Giovara [Fri, 7 Feb 2014 14:13:40 +0000 (15:13 +0100)]
h264: error out from decode_nal_units() when AV_EF_EXPLODE is set
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Vittorio Giovara [Sun, 9 Mar 2014 17:52:40 +0000 (18:52 +0100)]
jpeg2000: fix dereferencing invalid pointers during cleanup
CC: libav-stable@libav.org
Found-by: Laurent Butti <laurentb@gmail.com>
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Tobias Rapp [Tue, 17 Jun 2014 07:01:07 +0000 (09:01 +0200)]
ffprobe: add color_range and color_space to stream output
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Mon, 23 Jun 2014 22:32:34 +0000 (00:32 +0200)]
avutil/lzo: allow selecting the compression function in the test code
Michael Niedermayer [Mon, 23 Jun 2014 21:45:20 +0000 (23:45 +0200)]
libavcodec/wmalosslessdec: add missing emms
prevent failure with mmx2
should fix fate failure on freebsd mmx2 client
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Vittorio Giovara [Mon, 23 Jun 2014 21:39:03 +0000 (17:39 -0400)]
pixfmt: mark the reserved values
James Almer [Mon, 23 Jun 2014 20:01:03 +0000 (17:01 -0300)]
x86/dsputil: move put_signed_pixels_clamped out of bswapdsp.asm
It's still a dsputil function
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Mon, 23 Jun 2014 18:59:48 +0000 (20:59 +0200)]
Merge commit '
fab9df63a3156ffe1f9490aafaea41e03ef60ddf '
* commit '
fab9df63a3156ffe1f9490aafaea41e03ef60ddf ':
dsputil: Split off global motion compensation bits into a separate context
Conflicts:
libavcodec/dsputil.c
libavcodec/dsputil.h
libavcodec/ppc/dsputil_altivec.h
libavcodec/x86/dsputil_init.c
libavcodec/x86/dsputil_mmx.c
libavcodec/x86/dsputil_x86.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Mon, 23 Jun 2014 18:34:25 +0000 (20:34 +0200)]
Merge commit '
f23d26a6864128001b03876b0b92fffe131f2060 '
* commit '
f23d26a6864128001b03876b0b92fffe131f2060 ':
h264: avoid using uninitialized memory in NEON chroma mc
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diego Biurrun [Fri, 24 Jan 2014 09:41:12 +0000 (01:41 -0800)]
dsputil: Split off global motion compensation bits into a separate context
Janne Grunau [Wed, 18 Jun 2014 15:10:42 +0000 (17:10 +0200)]
h264: avoid using uninitialized memory in NEON chroma mc
Adapt commit
982b596ea6640bfe218a31f6c3fc542d9fe61c31 for the arm and
aarch64 NEON asm. 5-10% faster on Cortex-A9.
Michael Niedermayer [Mon, 23 Jun 2014 12:48:38 +0000 (14:48 +0200)]
Merge commit '
ccda51b14c0fcae2fad73a24872dce75a7964996 '
* commit '
ccda51b14c0fcae2fad73a24872dce75a7964996 ':
lzo: Handle integer overflow
Conflicts:
libavutil/lzo.c
This is basically not merging changes due to this being fixed differently
in FFmpeg
See:
d6af26c55c1ea30f85a7d9edbc373f53be1743ee
See:
cf2b7c01f81c1fb3283a1390c0ca9a2f81f4f4a8
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Mon, 23 Jun 2014 12:45:47 +0000 (14:45 +0200)]
avutil/lzo: add asserts to be double sure against overflows
These asserts cannot fail since
d6af26c55c1ea30f85a7d9edbc373f53be1743ee
Based-on:
ccda51b14c0fcae2fad73a24872dce75a7964996
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Fri, 20 Jun 2014 01:15:28 +0000 (03:15 +0200)]
avutil/lzo: Fix integer overflow
Embargoed-till: 2014-06-27 requested by researcher, but embargo broken by libav today (git and mailing list)
Fixes: LMS-2014-06-16-4
Found-by: "Don A. Bailey" <donb@securitymouse.com>
See:
ccda51b14c0fcae2fad73a24872dce75a7964996
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Mon, 23 Jun 2014 11:54:17 +0000 (13:54 +0200)]
Merge commit '
e121ac634ba324a318f4a97f978dcfb48da6b735 '
* commit '
e121ac634ba324a318f4a97f978dcfb48da6b735 ':
indeo45: use is_indeo4 context flag instead of checking codec ID
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Mon, 23 Jun 2014 11:23:41 +0000 (13:23 +0200)]
Merge commit '
c67b449bebbe0b35c73b203683e77a0a649bc765 '
* commit '
c67b449bebbe0b35c73b203683e77a0a649bc765 ':
dsputil: Split bswap*_buf() off into a separate context
Conflicts:
configure
libavcodec/4xm.c
libavcodec/ac3dec.c
libavcodec/ac3dec.h
libavcodec/apedec.c
libavcodec/eamad.c
libavcodec/flacenc.c
libavcodec/fraps.c
libavcodec/huffyuv.c
libavcodec/huffyuvdec.c
libavcodec/motionpixels.c
libavcodec/truemotion2.c
libavcodec/x86/Makefile
libavcodec/x86/dsputil_init.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Luca Barbato [Thu, 19 Jun 2014 21:26:58 +0000 (23:26 +0200)]
lzo: Handle integer overflow
get_len can overflow for specially crafted payload.
Reported-By: Don A. Baley <donb@securitymouse.com>
CC: libav-stable@libav.org
Dirk Ausserhaus [Fri, 20 Jun 2014 18:15:20 +0000 (20:15 +0200)]
indeo45: use is_indeo4 context flag instead of checking codec ID
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
Michael Niedermayer [Mon, 23 Jun 2014 01:48:30 +0000 (03:48 +0200)]
Merge commit '
7b9ef8d701c319c26f7d0664fe977e176764c74e '
* commit '
7b9ef8d701c319c26f7d0664fe977e176764c74e ':
mpeg: Split error resilience bits off into a separate file
Conflicts:
configure
libavcodec/Makefile
libavcodec/mpegvideo.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Mon, 23 Jun 2014 01:34:13 +0000 (03:34 +0200)]
Merge commit '
f2f2e7627f0c878d13275af5d166ec5932665e28 '
* commit '
f2f2e7627f0c878d13275af5d166ec5932665e28 ':
Check mp3 header before calling avpriv_mpegaudio_decode_header().
Conflicts:
libavformat/mp3enc.c
See:
2dd0da787ce5008d4d1b8f461fbd1288c32e2c38
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Mon, 23 Jun 2014 01:05:02 +0000 (03:05 +0200)]
Merge commit '
44127546b0a81dc9dd6190739a62d48f0044c6f3 '
* commit '
44127546b0a81dc9dd6190739a62d48f0044c6f3 ':
Check if an mp3 header is using a reserved sample rate.
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diego Biurrun [Thu, 13 Feb 2014 16:57:05 +0000 (17:57 +0100)]
dsputil: Split bswap*_buf() off into a separate context
Diego Biurrun [Fri, 20 Jun 2014 13:05:45 +0000 (06:05 -0700)]
mpeg: Split error resilience bits off into a separate file
Justin Ruggles [Sun, 22 Jun 2014 17:19:36 +0000 (13:19 -0400)]
Check mp3 header before calling avpriv_mpegaudio_decode_header().
As indicated in the function documentation, the header MUST be
checked prior to calling it because no consistency check is done
there.
CC:libav-stable@libav.org
Justin Ruggles [Sun, 22 Jun 2014 17:11:32 +0000 (13:11 -0400)]
Check if an mp3 header is using a reserved sample rate.
Fixes an invalid read past the end of avpriv_mpa_freq_tab.
Fixes divide-by-zero due to sample_rate being set to 0.
Bug-Id: 705
CC:libav-stable@libav.org
James Almer [Sun, 22 Jun 2014 23:34:14 +0000 (20:34 -0300)]
x86/dsputil: remove redundant global motion compensation code
The SSE version has been no different than the mmx one since commit
a41bf09d
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Mon, 23 Jun 2014 00:04:44 +0000 (02:04 +0200)]
avcodec/apedec: optimize sign combination
48078630 ->
32533850 dezi cycles
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sun, 22 Jun 2014 23:30:35 +0000 (01:30 +0200)]
Merge commit '
463a7cde563fd805864c48a76dd1b03fc24671ed '
* commit '
463a7cde563fd805864c48a76dd1b03fc24671ed ':
Differentiate assembler and assembly in documentation and comments
Conflicts:
configure
doc/platform.texi
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sun, 22 Jun 2014 23:20:55 +0000 (01:20 +0200)]
Merge commit '
0ef256d51518f0e483c38b9ee3b993cf0709d00e '
* commit '
0ef256d51518f0e483c38b9ee3b993cf0709d00e ':
libx264: Correctly manage constant rate factor params
Conflicts:
libavcodec/libx264.c
See:
3a1c8951bc886e8af30e09dc0e20491f6f5c3937
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sun, 22 Jun 2014 23:13:52 +0000 (01:13 +0200)]
Merge commit '
73953df71a28e94d8959facba7906cf5975ca4ef '
* commit '
73953df71a28e94d8959facba7906cf5975ca4ef ':
Replace av_malloc() and memset(0) by av_mallocz()
Conflicts:
libavformat/matroskadec.c
libavformat/rmdec.c
libavformat/utils.c
No change, as none of the split malloc+memset existed in ffmpeg
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sun, 22 Jun 2014 23:03:21 +0000 (01:03 +0200)]
Merge commit '
f83896abda1e78ebbbda0f184b682b4fabadc682 '
* commit '
f83896abda1e78ebbbda0f184b682b4fabadc682 ':
ape: Replace memset(0) by zero initialization
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sun, 22 Jun 2014 22:57:41 +0000 (00:57 +0200)]
Merge commit '
8d695dc411c1ae28477f107d6f7bf2db59af95df '
* commit '
8d695dc411c1ae28477f107d6f7bf2db59af95df ':
mpeg: Mark ff_mpeg_set_erpic() static
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sun, 22 Jun 2014 22:51:54 +0000 (00:51 +0200)]
Merge commit '
a6a675a79287565c3c23455439b114676b63a96c '
* commit '
a6a675a79287565c3c23455439b114676b63a96c ':
configure: Drop stray error resilience dependencies
Conflicts:
configure
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sun, 22 Jun 2014 22:45:58 +0000 (00:45 +0200)]
Merge commit '
fbf4d2197f35bddccec00ad53185ee4ab81778a0 '
* commit '
fbf4d2197f35bddccec00ad53185ee4ab81778a0 ':
build: Record explicit dependency of intrax8 on error resilience
Conflicts:
configure
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sun, 22 Jun 2014 22:39:53 +0000 (00:39 +0200)]
Merge commit '
c54e118722cbbdc04945538d1796d4472a1ff406 '
* commit '
c54e118722cbbdc04945538d1796d4472a1ff406 ':
build: Have the eatqi decoder depend on the MPEG-1 decoder
Conflicts:
configure
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sun, 22 Jun 2014 22:31:22 +0000 (00:31 +0200)]
Merge commit '
85d805d5cccb2f57e7f2e2254d7a870f05926cfd '
* commit '
85d805d5cccb2f57e7f2e2254d7a870f05926cfd ':
build: Add missing object files for webm muxer
Conflicts:
libavformat/Makefile
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sun, 22 Jun 2014 22:19:41 +0000 (00:19 +0200)]
Merge commit '
03391b5432a2b8b8dbc3d2db722a54dfb68737b9 '
* commit '
03391b5432a2b8b8dbc3d2db722a54dfb68737b9 ':
build: Add missing object files for Matroska demuxer
Conflicts:
libavcodec/Makefile
libavformat/Makefile
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sun, 22 Jun 2014 22:13:34 +0000 (00:13 +0200)]
Merge commit '
49470b9404583ab3aff6835f78a759349d331696 '
* commit '
49470b9404583ab3aff6835f78a759349d331696 ':
build: Add missing replaygain object file for CAF demuxer
Conflicts:
libavformat/Makefile
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sun, 22 Jun 2014 21:54:51 +0000 (23:54 +0200)]
ffmpeg: fix reinitializing with threads while flushing
With threads the decoder has a delay and will thus have multiple
frames at EOF left in its buffers which will be returned when flushing
the decoder. The code that extracts such frames from the decoder at the
end does not pull frames from the filtergraph, thus when one of these
frames causes the filtergraph to be reinited, the frames still inside
the graph at that point re lost
This commit changes the flushing to be more similar to normal decoding
and 1 frame at a time
Fixes hqx fate with threads
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diego Biurrun [Wed, 18 Jun 2014 14:21:00 +0000 (16:21 +0200)]
Differentiate assembler and assembly in documentation and comments
The language and the program that consumes the language are not the same.
Anshul Maheshwari [Sun, 22 Jun 2014 07:24:33 +0000 (12:54 +0530)]
ffmpeg: fix transcoding dvbsub to dvbsub
fix ticket #2024
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Anshul Maheshwari [Sun, 22 Jun 2014 07:24:33 +0000 (12:54 +0530)]
avcodec/dvbsubdec: support returning exact end times
fixess part of ticket #2024
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Luca Barbato [Sat, 21 Jun 2014 10:46:19 +0000 (12:46 +0200)]
libx264: Correctly manage constant rate factor params
By default they are set to -1.
Michael Niedermayer [Sun, 22 Jun 2014 18:49:00 +0000 (20:49 +0200)]
avfilter/vf_blend: fix macro ()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sun, 22 Jun 2014 18:48:43 +0000 (20:48 +0200)]
avfilter/unsharp_opencl: fix macro ()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
James Almer [Sun, 22 Jun 2014 17:47:54 +0000 (14:47 -0300)]
x86/audiodsp: move asm code out of dsputil
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Andrey Utkin [Sun, 22 Jun 2014 14:31:09 +0000 (17:31 +0300)]
drawtext: drop unused draw_glyphs() arg "rgbcolor"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>