]> git.sesse.net Git - ffmpeg/log
ffmpeg
10 years agoffplay: decrease max audio callbacks per second
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>
10 years agoffplay: calculate SDL audio buffer size based on sample rate
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>
10 years agoffplay: pass simple integers to calculate_display_rect and set_default_window_size
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>
10 years agoffplay: eliminate pictq_prev_picture
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>
10 years agoavfilter/vf_deshake: fix macro ()
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>
10 years agoavfilter/vf_colormatrix: fix macro ()
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>
10 years agomjpegdec: Properly set the context colorspace info
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>
10 years agoavformat/nutdec: improve probe speed by 30%
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>
10 years agoavformat/wavenc: simplify malloc failure checking
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>
10 years agoavformat/wavenc: more specific error return for "Writing 16 bit peak for 8 bit audio"
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>
10 years agoavformat/wavenc: do not hardcode array size in memset and other functions
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>
10 years agoavformat/wavenc: use the bitexact flag from avformat instead of the one from avcodec
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>
10 years agohevc/pps: optimized size of min_tb_addr_zs
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>
10 years agoavcodec/hevc_ps: remove min_cb_addr_zs
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>
10 years agoPeak Envelope Chunk encoder: Indent
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>
10 years agoEBU Tech 3285 - Supplement 3 - Peak Envelope Chunk encoder
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>
10 years agoavfilter/vf_hqx: optimize table init
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>
10 years agoavfilter/vf_hqx: avoid floats
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>
10 years agoavcodec/x86/h264_qpel_10bit: locally define pb_0
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>
10 years agoavcodec/h264: do not leave ret random on minor failures, causing major failure
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>
10 years agoMerge commit '772d150a6e82542c06b0c251e73dd299d98d1027'
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>
10 years agoMerge commit '10306e9c5fcc28bd9310a9b38f21540e9e1433e9'
Michael Niedermayer [Mon, 23 Jun 2014 23:21:23 +0000 (01:21 +0200)]
Merge commit '10306e9c5fcc28bd9310a9b38f21540e9e1433e9'

* commit '10306e9c5fcc28bd9310a9b38f21540e9e1433e9':
  jpeg2000: fix dereferencing invalid pointers during cleanup

Conflicts:
libavcodec/jpeg2000.c

See: 09927f3eaa93e31dd90ab8ee66dc1ad867b3365f
See: 912ce9dd2080c5837285a471d750fa311e09b555
See: 9e477a37703318cb86d8ed1d426929235aa02b67
Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit 'ab72eda15e98197cf148abc08574206cfde0d9b0'
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>
10 years agoh264: error out from decode_nal_units() when AV_EF_EXPLODE is set
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>
10 years agojpeg2000: fix dereferencing invalid pointers during cleanup
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>
10 years agoffprobe: add color_range and color_space to stream output
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>
10 years agoavutil/lzo: allow selecting the compression function in the test code
Michael Niedermayer [Mon, 23 Jun 2014 22:32:34 +0000 (00:32 +0200)]
avutil/lzo: allow selecting the compression function in the test code

10 years agolibavcodec/wmalosslessdec: add missing emms
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>
10 years agopixfmt: mark the reserved values
Vittorio Giovara [Mon, 23 Jun 2014 21:39:03 +0000 (17:39 -0400)]
pixfmt: mark the reserved values

10 years agox86/dsputil: move put_signed_pixels_clamped out of bswapdsp.asm
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>
10 years agoMerge commit 'fab9df63a3156ffe1f9490aafaea41e03ef60ddf'
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>
10 years agoMerge commit 'f23d26a6864128001b03876b0b92fffe131f2060'
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>
10 years agodsputil: Split off global motion compensation bits into a separate context
Diego Biurrun [Fri, 24 Jan 2014 09:41:12 +0000 (01:41 -0800)]
dsputil: Split off global motion compensation bits into a separate context

10 years agoh264: avoid using uninitialized memory in NEON chroma mc
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.

10 years agoMerge commit 'ccda51b14c0fcae2fad73a24872dce75a7964996'
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>
10 years agoavutil/lzo: add asserts to be double sure against overflows
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>
10 years agoavutil/lzo: Fix integer overflow
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>
10 years agoMerge commit 'e121ac634ba324a318f4a97f978dcfb48da6b735'
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>
10 years agoMerge commit 'c67b449bebbe0b35c73b203683e77a0a649bc765'
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>
10 years agolzo: Handle integer overflow
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
10 years agoindeo45: use is_indeo4 context flag instead of checking codec ID
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>
10 years agoMerge commit '7b9ef8d701c319c26f7d0664fe977e176764c74e'
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>
10 years agoMerge commit 'f2f2e7627f0c878d13275af5d166ec5932665e28'
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>
10 years agoMerge commit '44127546b0a81dc9dd6190739a62d48f0044c6f3'
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>
10 years agodsputil: Split bswap*_buf() off into a separate context
Diego Biurrun [Thu, 13 Feb 2014 16:57:05 +0000 (17:57 +0100)]
dsputil: Split bswap*_buf() off into a separate context

10 years agompeg: Split error resilience bits off into a separate file
Diego Biurrun [Fri, 20 Jun 2014 13:05:45 +0000 (06:05 -0700)]
mpeg: Split error resilience bits off into a separate file

10 years agoCheck mp3 header before calling avpriv_mpegaudio_decode_header().
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

10 years agoCheck if an mp3 header is using a reserved sample rate.
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

10 years agox86/dsputil: remove redundant global motion compensation code
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>
10 years agoavcodec/apedec: optimize sign combination
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>
10 years agoMerge commit '463a7cde563fd805864c48a76dd1b03fc24671ed'
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>
10 years agoMerge commit '0ef256d51518f0e483c38b9ee3b993cf0709d00e'
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>
10 years agoMerge commit '73953df71a28e94d8959facba7906cf5975ca4ef'
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>
10 years agoMerge commit 'f83896abda1e78ebbbda0f184b682b4fabadc682'
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>
10 years agoMerge commit '8d695dc411c1ae28477f107d6f7bf2db59af95df'
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>
10 years agoMerge commit 'a6a675a79287565c3c23455439b114676b63a96c'
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>
10 years agoMerge commit 'fbf4d2197f35bddccec00ad53185ee4ab81778a0'
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>
10 years agoMerge commit 'c54e118722cbbdc04945538d1796d4472a1ff406'
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>
10 years agoMerge commit '85d805d5cccb2f57e7f2e2254d7a870f05926cfd'
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>
10 years agoMerge commit '03391b5432a2b8b8dbc3d2db722a54dfb68737b9'
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>
10 years agoMerge commit '49470b9404583ab3aff6835f78a759349d331696'
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>
10 years agoffmpeg: fix reinitializing with threads while flushing
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>
10 years agoDifferentiate assembler and assembly in documentation and comments
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.

10 years agoffmpeg: fix transcoding dvbsub to dvbsub
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>
10 years agoavcodec/dvbsubdec: support returning exact end times
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>
10 years agolibx264: Correctly manage constant rate factor params
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.

10 years agoavfilter/vf_blend: fix macro ()
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>
10 years agoavfilter/unsharp_opencl: fix macro ()
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>
10 years agox86/audiodsp: move asm code out of dsputil
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>
10 years agodrawtext: drop unused draw_glyphs() arg "rgbcolor"
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>
10 years agoReplace av_malloc() and memset(0) by av_mallocz()
Diego Biurrun [Thu, 19 Jun 2014 22:04:36 +0000 (00:04 +0200)]
Replace av_malloc() and memset(0) by av_mallocz()

10 years agoape: Replace memset(0) by zero initialization
Diego Biurrun [Thu, 19 Jun 2014 22:04:00 +0000 (00:04 +0200)]
ape: Replace memset(0) by zero initialization

10 years agoMerge commit '9a9e2f1c8aa4539a261625145e5c1f46a8106ac2'
Michael Niedermayer [Sun, 22 Jun 2014 15:58:28 +0000 (17:58 +0200)]
Merge commit '9a9e2f1c8aa4539a261625145e5c1f46a8106ac2'

* commit '9a9e2f1c8aa4539a261625145e5c1f46a8106ac2':
  dsputil: Split audio operations off into a separate context

Conflicts:
configure
libavcodec/takdec.c
libavcodec/x86/Makefile
libavcodec/x86/dsputil.asm
libavcodec/x86/dsputil_init.c
libavcodec/x86/dsputil_mmx.c
libavcodec/x86/dsputil_x86.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agompeg: Mark ff_mpeg_set_erpic() static
Diego Biurrun [Fri, 20 Jun 2014 12:25:12 +0000 (05:25 -0700)]
mpeg: Mark ff_mpeg_set_erpic() static

It is not used outside of the file.

10 years agoconfigure: Drop stray error resilience dependencies
Diego Biurrun [Thu, 19 Jun 2014 15:15:50 +0000 (08:15 -0700)]
configure: Drop stray error resilience dependencies

10 years agobuild: Record explicit dependency of intrax8 on error resilience
Diego Biurrun [Fri, 20 Jun 2014 12:53:53 +0000 (05:53 -0700)]
build: Record explicit dependency of intrax8 on error resilience

10 years agobuild: Have the eatqi decoder depend on the MPEG-1 decoder
Diego Biurrun [Fri, 20 Jun 2014 12:55:11 +0000 (05:55 -0700)]
build: Have the eatqi decoder depend on the MPEG-1 decoder

eatqi uses more than just the shared mpegvideo bits.

10 years agobuild: Add missing object files for webm muxer
Diego Biurrun [Fri, 20 Jun 2014 10:31:32 +0000 (03:31 -0700)]
build: Add missing object files for webm muxer

10 years agobuild: Add missing object files for Matroska demuxer
Diego Biurrun [Fri, 20 Jun 2014 10:22:10 +0000 (03:22 -0700)]
build: Add missing object files for Matroska demuxer

10 years agobuild: Add missing replaygain object file for CAF demuxer
Diego Biurrun [Fri, 20 Jun 2014 10:15:38 +0000 (03:15 -0700)]
build: Add missing replaygain object file for CAF demuxer

10 years agodsputil: Split audio operations off into a separate context
Diego Biurrun [Thu, 16 Jan 2014 16:30:19 +0000 (17:30 +0100)]
dsputil: Split audio operations off into a separate context

10 years agoswr: remove another forgotten division in DSP function.
Ronald S. Bultje [Sat, 21 Jun 2014 21:09:29 +0000 (17:09 -0400)]
swr: remove another forgotten division in DSP function.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavfilter/vf_hqx: remove << 0
Michael Niedermayer [Sun, 22 Jun 2014 03:17:23 +0000 (05:17 +0200)]
avfilter/vf_hqx: remove << 0

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agofate/filter-video: fix hqx on big endian part 2
Michael Niedermayer [Sun, 22 Jun 2014 03:02:04 +0000 (05:02 +0200)]
fate/filter-video: fix hqx on big endian part 2

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavfilter/vf_hqx: partly fix big endian fate test
Michael Niedermayer [Sun, 22 Jun 2014 02:55:17 +0000 (04:55 +0200)]
avfilter/vf_hqx: partly fix big endian fate test

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoswscale/x86/input: prevent RGB32_TO_Y_FN from reading into the padding
Michael Niedermayer [Sun, 22 Jun 2014 01:03:12 +0000 (03:03 +0200)]
swscale/x86/input: prevent RGB32_TO_Y_FN from reading into the padding

This avoids reading uninitialized bytes and confusing valgrind

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoswscale/x86/input: prevent RGB32_TO_UV_FN from reading into the padding
Michael Niedermayer [Sun, 22 Jun 2014 00:32:30 +0000 (02:32 +0200)]
swscale/x86/input: prevent RGB32_TO_UV_FN from reading into the padding

This avoids reading uninitialized bytes and confusing valgrind

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavfilter/deshake_opencl: fix macro ()
Michael Niedermayer [Sat, 21 Jun 2014 21:05:43 +0000 (23:05 +0200)]
avfilter/deshake_opencl: fix macro ()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavfilter/avf_showspectrum: fix macro ()
Michael Niedermayer [Sat, 21 Jun 2014 21:04:20 +0000 (23:04 +0200)]
avfilter/avf_showspectrum: fix macro ()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavfilter/hqx: add some self promotion in doxy.
Clément Bœsch [Sat, 21 Jun 2014 20:34:13 +0000 (22:34 +0200)]
avfilter/hqx: add some self promotion in doxy.

This is useful to understand how it's different from the original code.

10 years agoavfilter/hqx: unroll the pattern calculation
Clément Bœsch [Sat, 21 Jun 2014 20:32:49 +0000 (22:32 +0200)]
avfilter/hqx: unroll the pattern calculation

Code si smaller, no speed difference.

10 years agoavformat/flvdec: give live_flvdec a separate name
Michael Niedermayer [Sat, 21 Jun 2014 18:27:45 +0000 (20:27 +0200)]
avformat/flvdec: give live_flvdec a separate name

This should fix a infinite loop on freebsd

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoShow duration for large asf files as written in the file header.
Carl Eugen Hoyos [Sat, 21 Jun 2014 17:35:06 +0000 (19:35 +0200)]
Show duration for large asf files as written in the file header.

Fixes ticket #3428.

10 years agoDo not show libzvbi in the configure output if it was not enabled.
Carl Eugen Hoyos [Sat, 21 Jun 2014 17:34:10 +0000 (19:34 +0200)]
Do not show libzvbi in the configure output if it was not enabled.

It is already shown in the list of external libraries if it was enabled.

10 years agoavfilter: add hqx filter (hq2x, hq3x, hq4x)
Clément Bœsch [Fri, 7 Jun 2013 08:57:29 +0000 (10:57 +0200)]
avfilter: add hqx filter (hq2x, hq3x, hq4x)

Partially fixes Ticket #3404 (xbr filter remaining)

10 years agoavcodec/libtwolame: fix encoding lsf with defaults
Michael Niedermayer [Sat, 21 Jun 2014 14:57:23 +0000 (16:57 +0200)]
avcodec/libtwolame: fix encoding lsf with defaults

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/bitstream: document the double volatile
Michael Niedermayer [Sat, 21 Jun 2014 12:55:32 +0000 (14:55 +0200)]
avcodec/bitstream: document the double volatile

Suggested-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoffmpeg: fix memleak and corruption of AVSubtitle with multiple outputs
Anshul Maheshwari [Sat, 21 Jun 2014 11:03:36 +0000 (13:03 +0200)]
ffmpeg: fix memleak and corruption of AVSubtitle with multiple outputs

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agobuild: Add missing object file for Matroska demuxer
Diego Biurrun [Sat, 21 Jun 2014 09:53:43 +0000 (11:53 +0200)]
build: Add missing object file for Matroska demuxer

Fixes compilation with --disable-everything --disable-network --enable-demuxer=matroska

Signed-off-by: Carl Eugen Hoyos <cehoyos@ag.or.at>
10 years agoavcodec/ituh263enc: fix advanced intra coding
Michael Niedermayer [Sat, 21 Jun 2014 02:05:28 +0000 (04:05 +0200)]
avcodec/ituh263enc: fix advanced intra coding

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>