]>
git.sesse.net Git - ffmpeg/log
Mans Rullgard [Mon, 3 Dec 2012 01:36:49 +0000 (01:36 +0000)]
configure: arm: make _inline arch ext symbols depend on inline_asm
This makes --disable-inline-asm work as expected.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Sat, 1 Dec 2012 15:19:10 +0000 (15:19 +0000)]
configure: arm: check inline and external asm support for extensions
This tests instruction set support in both inline and external asm.
If both fail, the base config option is disabled.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Sat, 1 Dec 2012 15:06:56 +0000 (15:06 +0000)]
configure: add check_insn function
The check_insn function tests an instruction in both inline asm and
standalone assembly, and sets _external/_inline config properties
accordingly.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Mon, 3 Dec 2012 21:47:17 +0000 (21:47 +0000)]
configure: arm: set fast_clz and fast_unaligned in cpuflags section
These are properties of the targeted core and do not depend on
specific assembly support in the toolchain which if missing will
render the controlling options here disabled.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Fri, 30 Nov 2012 21:14:25 +0000 (21:14 +0000)]
configure: arm: detect toolchain default arch version
Probe for the toolchain default architecture version if no --cpu flag
is present or an unknown cpu is specified. Works with gcc, clang and
armcc.
This allows configuring based on the arch version even if it is not
explicitly specified to configure. It also causes an explicit -march
flag to be added to CFLAGS and ASFLAGS, which in turn lets us do
proper instruction set tests with the assembler.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Mon, 3 Dec 2012 19:21:42 +0000 (19:21 +0000)]
configure: do not bypass cpuflags section if --cpu not given
This will allow arch-specific ways of determining the target
variant when none is specified on the command line.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Sat, 1 Dec 2012 16:41:39 +0000 (16:41 +0000)]
arm: use HAVE*_INLINE/EXTERNAL macros for conditional compilation
These macros reflect the actual capabilities required here.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Sat, 1 Dec 2012 13:19:05 +0000 (13:19 +0000)]
configure: clean up check_inline_asm and check_as functions
The check_inline_asm function should check the actual C compiler,
not the one used for assembly files. Usually these are the same,
but they might be different, typically when using a compiler other
than gcc.
The check_as should, as its name suggests, test the type of input
the AS command is used with, i.e. a standalond assembly (.S) file.
Finally, check for gnu assembler using the modified check_as as
this reflects actual usage.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Sat, 1 Dec 2012 23:08:41 +0000 (23:08 +0000)]
dct-test: arm: indicate required cpu features for optimised funcs
Signed-off-by: Mans Rullgard <mans@mansr.com>
Anton Khirnov [Wed, 5 Dec 2012 05:34:02 +0000 (06:34 +0100)]
Michael Niedermayer [Fri, 7 Dec 2012 15:29:07 +0000 (16:29 +0100)]
Merge remote-tracking branch 'qatar/master'
* qatar/master:
h264: add a pointer for weighted prediction temporary buffer
Conflicts:
libavcodec/h264.c
libavcodec/h264.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Paul B Mahol [Fri, 7 Dec 2012 15:17:15 +0000 (15:17 +0000)]
lavc/takdec: s/get_b/get_bits_esc4
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Martin Storsjö [Fri, 7 Dec 2012 15:15:37 +0000 (16:15 +0100)]
avcodec: Fix a typo in an option description
Signed-off-by: Martin Storsjö <martin@martin.st>
Signed-off-by: Clément Bœsch <ubitux@gmail.com>
Paul B Mahol [Fri, 7 Dec 2012 14:56:22 +0000 (14:56 +0000)]
lavc/takdec: simplify code
Merge get_scale/get_shift into set_sample_rate_params().
Rename tak_set_bps to set_bps_params and remove 2nd argument.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Michael Niedermayer [Fri, 7 Dec 2012 14:45:25 +0000 (15:45 +0100)]
Merge commit '
d7d6efe42b0d2057e67999b96b9a391f533d2333 '
* commit '
d7d6efe42b0d2057e67999b96b9a391f533d2333 ':
h264: check sps.log2_max_frame_num for validity
mov: validate number of DataReferenceBox entries against box size
mov: compute avg_frame_rate only if duration is known
flac: change minimum and default of lpc_passes option to 1
Conflicts:
libavcodec/h264_ps.c
libavformat/mov.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Fri, 7 Dec 2012 14:21:41 +0000 (15:21 +0100)]
Merge commit '
c25fc5c2bb6ae8c93541c9427df3e47206d95152 '
* commit '
c25fc5c2bb6ae8c93541c9427df3e47206d95152 ':
fate: dpcm: Add dependencies
SBR DSP x86: implement SSE sbr_hf_gen
AAC SBR: use AVFloatDSPContext's vector_fmul
fate: image: Add dependencies
Changelog: add an entry for deprecating the avconv -vol option
x86: float_dsp: fix compilation of ff_vector_dmul_scalar_avx() on x86-32
Conflicts:
Changelog
libavutil/x86/float_dsp.asm
tests/fate/image.mak
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Mans Rullgard [Thu, 6 Dec 2012 23:51:01 +0000 (23:51 +0000)]
arm: fix use of uninitialised value in ff_fft_fixed_init_arm()
When initialising an FFTContext for a plain FFT, mdct_bits is not set
and can contain a garbage value. Since nbits is always valid and for
MDCT operation is mdct_bits - 2 checking this instead avoids using an
uninitialised value while having the same effect.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Paul B Mahol [Fri, 7 Dec 2012 13:05:43 +0000 (13:05 +0000)]
lavf/pcm: check size, do not produce invalid packets
Inspired by
92b8c9d89e7ae86bffa05393bb230d5a165b0148 .
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Michael Niedermayer [Fri, 7 Dec 2012 03:25:17 +0000 (04:25 +0100)]
diracdec: check dimensions against chroma format.
Fixes out of array reads
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Martin Storsjö [Thu, 6 Dec 2012 21:42:36 +0000 (23:42 +0200)]
avpicture: Don't assume a valid pix fmt in avpicture_get_size
When called from the v4l2 input device, pix_fmt can be
AV_PIX_FMT_NONE (for jpeg formats). Before
50ba57e0 , this wasn't
an issue for avpicture_get_size, but after that commit, this
lead to crashes.
Signed-off-by: Martin Storsjö <martin@martin.st>
Janne Grunau [Tue, 27 Nov 2012 18:12:45 +0000 (19:12 +0100)]
h264: add a pointer for weighted prediction temporary buffer
Reusing MpegEncContext's obmc_scratchpad for this becomes a mess with
adaptive frame-mt.
Janne Grunau [Sun, 25 Nov 2012 11:56:04 +0000 (12:56 +0100)]
h264: check sps.log2_max_frame_num for validity
Fixes infinite or long taking loop in frame num gap code in
the fuzzed sample bipbop234.ts_s223302.
CC: libav-stable@libav.org
Janne Grunau [Mon, 26 Nov 2012 21:18:31 +0000 (22:18 +0100)]
mov: validate number of DataReferenceBox entries against box size
Avoids a 2G memory allocation and parsing of random data in
mov_read_dref(). The fuzzed sample sample.mp4_s224424 triggers this.
Janne Grunau [Fri, 23 Nov 2012 15:33:36 +0000 (16:33 +0100)]
mov: compute avg_frame_rate only if duration is known
Fixes an assert in fuzzed sample sample.mp4_s265930.
Janne Grunau [Fri, 7 Dec 2012 00:21:06 +0000 (01:21 +0100)]
flac: change minimum and default of lpc_passes option to 1
Avoid use of uninitialized and uncomputed linear least square models
during ff_lpc_calc_coefs() for FF_LPC_TYPE_CHOLESKY. Fixes running
make fate-flac-16-lpc-cholesk with valgrind --undef-value-errors=yes.
Diego Biurrun [Wed, 28 Nov 2012 18:34:17 +0000 (19:34 +0100)]
fate: dpcm: Add dependencies
Christophe Gisquet [Fri, 24 Feb 2012 21:11:19 +0000 (22:11 +0100)]
SBR DSP x86: implement SSE sbr_hf_gen
Start and end index are multiple of 2, therefore guaranteeing aligned access.
Also, this allows to generate 4 floats per loop, keeping the alignment all
along.
Timing:
- 32 bits: 326c -> 172c
- 64 bits: 323c -> 156c
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Christophe Gisquet [Fri, 30 Nov 2012 20:49:33 +0000 (21:49 +0100)]
AAC SBR: use AVFloatDSPContext's vector_fmul
Around 5% speedup on the code block using 'vector_fmul_add's.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diego Biurrun [Wed, 28 Nov 2012 18:33:19 +0000 (19:33 +0100)]
fate: image: Add dependencies
Michael Niedermayer [Thu, 6 Dec 2012 23:43:40 +0000 (00:43 +0100)]
diracdec: fix typo in mctmp allocation
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Thu, 6 Dec 2012 23:42:44 +0000 (00:42 +0100)]
diracdec: Test mctmp and mcscratch for malloc failure.
Fixes null pointer dereference
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Thu, 6 Dec 2012 23:27:08 +0000 (00:27 +0100)]
diracdec: fix emulated_edge condition, fix out of array reads
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Paul B Mahol [Fri, 7 Dec 2012 01:11:55 +0000 (01:11 +0000)]
takdec: use samplefmt.h from libavutil
Instead of having own code for calculating decoded buffer size
just use already provided functions from libavutil.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Fri, 7 Dec 2012 00:14:33 +0000 (00:14 +0000)]
add missing dependency for tak demuxer
Paul B Mahol [Fri, 7 Dec 2012 00:03:47 +0000 (00:03 +0000)]
takdec: remove get_code() and use get_sbits() directly
As found by Justin, this is probably bug in reference decoder.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Carl Eugen Hoyos [Thu, 6 Dec 2012 23:26:45 +0000 (00:26 +0100)]
Fix compilation with yasm 0.6.2.
Michael Niedermayer [Thu, 6 Dec 2012 21:21:52 +0000 (22:21 +0100)]
fix tipo
Found-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Stefano Sabatini [Thu, 6 Dec 2012 21:18:24 +0000 (22:18 +0100)]
lavfi/tinterlace: drop redundant NULL checks in uninit()
Stefano Sabatini [Thu, 6 Dec 2012 21:03:02 +0000 (22:03 +0100)]
lavfi/tinterlace: add support to option parsing
Simplify code, and provide introspection through the AVOption system.
Stefano Sabatini [Thu, 6 Dec 2012 13:40:36 +0000 (14:40 +0100)]
lavfi/tinterlace: switch to filter_frame API
Also add missing NULL checks.
Michael Niedermayer [Thu, 6 Dec 2012 21:05:44 +0000 (22:05 +0100)]
lavf: improve help text for avoid_negative_ts
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Thu, 6 Dec 2012 20:45:26 +0000 (21:45 +0100)]
bitstream: make vlc init of static tables thread safe.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Clément Bœsch [Sun, 2 Dec 2012 20:15:48 +0000 (21:15 +0100)]
lavfi/mp: switch to ff_filter_frame.
Paul B Mahol [Thu, 6 Dec 2012 18:38:07 +0000 (18:38 +0000)]
dxa: port to bytestream2 API
Protects against overreads in input buffer.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Thu, 6 Dec 2012 18:06:52 +0000 (18:06 +0000)]
smacker: use meaningful error codes
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Thu, 6 Dec 2012 18:00:37 +0000 (18:00 +0000)]
siff: return meaningful error codes
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Thu, 6 Dec 2012 17:17:49 +0000 (17:17 +0000)]
lavf/apedec: return meaningful error codes
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Thu, 6 Dec 2012 16:56:40 +0000 (16:56 +0000)]
huffyuv: return meaningful error codes
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Thu, 6 Dec 2012 16:44:43 +0000 (16:44 +0000)]
huffyuv: check for malloc failures
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Justin Ruggles [Wed, 5 Dec 2012 18:03:08 +0000 (13:03 -0500)]
Changelog: add an entry for deprecating the avconv -vol option
Paul B Mahol [Thu, 6 Dec 2012 16:31:54 +0000 (16:31 +0000)]
huffyuv: make use of av_fast_padded_malloc()
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Clément Bœsch [Thu, 6 Dec 2012 15:16:42 +0000 (16:16 +0100)]
lavfi/deshake: small align prettifying.
Clément Bœsch [Thu, 6 Dec 2012 15:15:03 +0000 (16:15 +0100)]
lavfi/deshake: switch inverted comments.
Clément Bœsch [Thu, 6 Dec 2012 15:14:38 +0000 (16:14 +0100)]
lavfi/deshake: remove unecessary check before unref.
Clément Bœsch [Thu, 6 Dec 2012 15:14:22 +0000 (16:14 +0100)]
lavfi/deshake: switch to filter_frame.
Michael Niedermayer [Thu, 6 Dec 2012 15:03:13 +0000 (16:03 +0100)]
Merge remote-tracking branch 'qatar/master'
* qatar/master:
h264: slice-mt: check master context for valid current_picture_ptr
h264: slice-mt: get last_pic_dropable from master context
alacenc: add support for multi-channel encoding
Conflicts:
Changelog
libavcodec/alac.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Thu, 6 Dec 2012 14:43:34 +0000 (15:43 +0100)]
Merge commit '
b519298a1578e0c895d53d4b4ed8867b1c031a56 '
* commit '
b519298a1578e0c895d53d4b4ed8867b1c031a56 ':
pixdesc: fix yuva 10bit bit depth
avconv: deprecate the -vol option
x86: af_volume: add SSE2/SSSE3/AVX-optimized s32 volume scaling
x86: af_volume: add SSE2-optimized s16 volume scaling
Conflicts:
ffmpeg.c
tests/ref/lavfi/pixdesc
tests/ref/lavfi/pixfmts_copy
tests/ref/lavfi/pixfmts_null
tests/ref/lavfi/pixfmts_scale
tests/ref/lavfi/pixfmts_vflip
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Thu, 6 Dec 2012 14:29:23 +0000 (15:29 +0100)]
lavfi: rename af_volume to af_volume_stefano
This matches the naming style of the new af_volume_justin filter.
Note, Yes i would too prefer having one filter instead of 2.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Thu, 6 Dec 2012 14:18:59 +0000 (15:18 +0100)]
Merge commit '
b384e031daeb1ac612620985e3e5377bc587559c '
* commit '
b384e031daeb1ac612620985e3e5377bc587559c ':
lavfi: add volume filter
Conflicts:
Changelog
libavfilter/Makefile
libavfilter/af_volume.c
libavfilter/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Clément Bœsch [Thu, 6 Dec 2012 14:09:47 +0000 (15:09 +0100)]
lavd/lavfi: fix float.h include.
float.h is a system header.
Clément Bœsch [Thu, 6 Dec 2012 14:08:38 +0000 (15:08 +0100)]
lavfi/silencedetect: use eval builtin to parse dB.
Also update FATE test to use the dB form.
Michael Niedermayer [Thu, 6 Dec 2012 13:33:38 +0000 (14:33 +0100)]
Merge commit '
9d5c62ba5b586c80af508b5914934b1c439f6652 '
* commit '
9d5c62ba5b586c80af508b5914934b1c439f6652 ':
lavu/opt: do not filter out the initial sign character except for flags
eval: treat dB as decibels instead of decibytes
float_dsp: add vector_dmul_scalar() to multiply a vector of doubles
Conflicts:
libavutil/eval.c
tests/ref/fate/eval
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Justin Ruggles [Wed, 5 Dec 2012 16:53:21 +0000 (16:53 +0000)]
x86: float_dsp: fix compilation of ff_vector_dmul_scalar_avx() on x86-32
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
Nicolas George [Wed, 22 Aug 2012 16:28:37 +0000 (18:28 +0200)]
lavf: add a concat demuxer.
Stefano Sabatini [Thu, 6 Dec 2012 12:50:27 +0000 (13:50 +0100)]
lavfi/field: switch to filter_frame API
Stefano Sabatini [Thu, 6 Dec 2012 12:48:00 +0000 (13:48 +0100)]
lavfi/drawtext: make use of outlink variable in filter_frame()
Fix warning.
Paul B Mahol [Mon, 3 Dec 2012 18:26:43 +0000 (18:26 +0000)]
mmfdec: fix seeking
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Clément Bœsch [Thu, 6 Dec 2012 11:52:58 +0000 (12:52 +0100)]
lavfi/mp: remove dead extern vf_info_t declarations.
anonymous [Tue, 4 Dec 2012 22:43:08 +0000 (23:43 +0100)]
lavfi/mp: add ff_ prefix to exported symbols
Clément Bœsch [Thu, 6 Dec 2012 11:12:48 +0000 (12:12 +0100)]
Add examples/resampling_audio to .gitignore.
Stefano Sabatini [Thu, 6 Dec 2012 09:16:10 +0000 (10:16 +0100)]
doc/decoders: fix typo in "@Options"
Stefano Sabatini [Fri, 30 Nov 2012 12:51:40 +0000 (13:51 +0100)]
examples: add resampling_audio.c file
Janne Grunau [Wed, 5 Dec 2012 19:08:01 +0000 (20:08 +0100)]
h264: slice-mt: check master context for valid current_picture_ptr
Fixes errors in slice based multithreading introduced in
0b300daad2f5 .
Janne Grunau [Wed, 5 Dec 2012 18:56:36 +0000 (19:56 +0100)]
h264: slice-mt: get last_pic_dropable from master context
Fixes fate-h264-conformance-cvnlfi2_sony_h and smllwebdl.mkv from
https://github.com/OpenELEC/OpenELEC.tv/issues/1557 .
Michael Niedermayer [Thu, 6 Dec 2012 01:21:11 +0000 (02:21 +0100)]
ff_lock_avcodec: make the lock state be consistent in case of failure.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Thu, 6 Dec 2012 01:00:12 +0000 (02:00 +0100)]
avcodec_open: if obtaining a lock fails, dont attempt to unlock it.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Thu, 6 Dec 2012 00:35:44 +0000 (01:35 +0100)]
Revert "Acquire lock when initializing parsers."
This reverts commit
7feef7dbca5f6a816e04b63c17aad5dacd272f6e .
This commit causes assertion failures due to use of parser_init from multiple
threads, for example indirectly by ffmpeg.c and more directly from the
packet read functions.
I dont know how to fix this quickly, and fixing ffmpeg.c leaves
the possibility of other applications being affected.
Crashing the applications until this is resolved is clearly no good
thus this revert, so we have time to think about the problem.
Crashes can be reproduced by using multiple input files in ffmpeg.
Michael Niedermayer [Thu, 6 Dec 2012 00:35:31 +0000 (01:35 +0100)]
Revert "Add assert that the avcodec lock is held when initializing static VLC tables."
This reverts commit
dd154198b1afa9f3f740eb0b2ccd7ab665f8edd4 .
Michael Niedermayer [Wed, 5 Dec 2012 22:46:59 +0000 (23:46 +0100)]
frame_thread_encoder: fix locking while locks are held
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Wed, 5 Dec 2012 22:16:21 +0000 (23:16 +0100)]
vc1dec: prevent v_edge_pos from becoming negative.
Fixes assertion failure
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Wed, 5 Dec 2012 21:55:18 +0000 (22:55 +0100)]
resample: remove disabled debug code
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Clément Bœsch [Wed, 5 Dec 2012 22:36:29 +0000 (23:36 +0100)]
fate/hqdn3d: add -idct simple.
This should fix FATE failure on ARM. IDCT is required since it's a JPEG
source.
Janne Grunau [Wed, 5 Dec 2012 19:08:01 +0000 (20:08 +0100)]
h264: slice-mt: check master context for valid current_picture_ptr
Fixes errors in slice based multithreading introduced in
0b300daad2f5 .
CC: libav-stable@libav.org
Janne Grunau [Wed, 5 Dec 2012 18:56:36 +0000 (19:56 +0100)]
h264: slice-mt: get last_pic_dropable from master context
Fixes fate-h264-conformance-cvnlfi2_sony_h and smllwebdl.mkv from
https://github.com/OpenELEC/OpenELEC.tv/issues/1557 .
CC: libav-stable@libav.org
Clément Bœsch [Wed, 5 Dec 2012 19:27:33 +0000 (20:27 +0100)]
swr: remove unused ONE define.
Justin Ruggles [Tue, 4 Dec 2012 18:46:20 +0000 (13:46 -0500)]
alacenc: add support for multi-channel encoding
Paul B Mahol [Wed, 5 Dec 2012 20:44:28 +0000 (20:44 +0000)]
cafenc: do not include riff.h
ff_codec_get_tag() was moved to internal.h
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Wed, 5 Dec 2012 20:28:45 +0000 (20:28 +0000)]
lavc/dxa: return meaningful error codes
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Wed, 5 Dec 2012 20:18:04 +0000 (20:18 +0000)]
lavf/dxa: return meaningful error codes
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Wed, 5 Dec 2012 20:02:34 +0000 (20:02 +0000)]
dxa: signal EOF
Fixes #1948.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Reimar Döffinger [Tue, 27 Nov 2012 20:58:22 +0000 (21:58 +0100)]
Add assert that the avcodec lock is held when initializing static VLC tables.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Reimar Döffinger [Tue, 27 Nov 2012 20:57:33 +0000 (21:57 +0100)]
Acquire lock when initializing parsers.
This is necessary since they might be initializing or
even using static VLC tables.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Reimar Döffinger [Tue, 27 Nov 2012 20:56:35 +0000 (21:56 +0100)]
avcodec: add ff_lock/unlock_avcodec functions.
Will be used in future patches, together with the
variable that allows checking whether the lock is held.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Piotr Bandurski [Wed, 5 Dec 2012 16:37:42 +0000 (17:37 +0100)]
wmaenc: add new line to some error messages
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Wolfram Gloger [Wed, 5 Dec 2012 18:26:12 +0000 (19:26 +0100)]
mpegvideo_parser: fix buffer access beyond end
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Reimar Döffinger [Mon, 3 Dec 2012 19:42:08 +0000 (20:42 +0100)]
av_assert should use AV_LOG_PANIC.
The description of AV_LOG_PANIC 100% matches what av_assert
does, while AV_LOG_FATAL does not really.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Michael Niedermayer [Wed, 5 Dec 2012 18:31:10 +0000 (19:31 +0100)]
mpegvideo_enc: use av_log() in debug code
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Wed, 5 Dec 2012 18:29:40 +0000 (19:29 +0100)]
motion_est: use av_log() in debug code
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Wed, 5 Dec 2012 18:29:00 +0000 (19:29 +0100)]
j2kenc: remove duplicate debug functions
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Wed, 5 Dec 2012 18:27:46 +0000 (19:27 +0100)]
j2k: avoid printf() useage in debug code
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>