Carl Eugen Hoyos
55e2dc7f77
Fix channel order for some less common TrueHD layouts.
Reported and tested by TDiTP_
Fixes ticket #779 .
(cherry picked from commit 1af0ace3a4 )
14 years ago
Hendrik Leppkes
a46fa584c5
mlpdec: fix channel order for wide 7.1 truehd layouts
(cherry picked from commit b9d8af0327 )
14 years ago
Carl Eugen Hoyos
980e4263bc
Add missing PIX_FMT_NONE to libopenjpegenc
fixes ticket #813
Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Reviewed-by: Jean First <jeanfirst@gmail.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit ef611095f0 )
14 years ago
Michael Niedermayer
2a442eb70f
h264: Fix frame sync / random access handling.
It seems I have misunderstood the spec when I implemented this
originally.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 9ba43e50ef )
14 years ago
Michael Niedermayer
23ed56d307
h264: Fix seeking in 00017.MTS
Fixes Ticket852
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 9d9316ae34 )
14 years ago
Michael Niedermayer
b84683a906
h264: Fix recovery_frame initialization when recovery_frame is -1
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit fba6777363 )
14 years ago
Michael Niedermayer
01ff5378f0
h264: reset picture->sync on allocation.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 36fa781bd6 )
14 years ago
Michael Niedermayer
96545777d7
h264: add forgotten \n to "Invalid mix of idr and non-idr slices"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit ecb14b8af7 )
14 years ago
Michael Niedermayer
1506becf36
h264: Print pass in NAL debug output
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 393253b4b3 )
14 years ago
Michael Niedermayer
7614facf8a
h264: fix init of topleft ref/mv.
Fixes Ticket778
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 4d70023a2a )
14 years ago
Michael Niedermayer
de69052b1a
ljpeg: Check that lowres is 0 as lowres is not possible with ljpeg.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
bf928ebed2
4xm: check if there are bits left in decode_i_block()
Fixed Ticket753
Bug Found by: Diana Elena Muscalu
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit e1ba29c764 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Matthieu Bouron
6db6fe82ca
mpeg12enc: fix drop_frame_timecode value
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 366605ff5d )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
388e3e7853
ac3dec: update checked AV_EF flags.
A user who wishes to use default error concealment cannot set the
AV_EF_CRCCHECK flag because not every CRC in every format is a
reliable indicator of bitstream damage. In some formats crcrs
can be nonsensical in absence of any damage. We thus add the
AV_EF_CAREFUL flag in addition to the AV_EF_CRCCHECK flag to
allow a user to enable this reliable CRC check without having to
enable all CRC checks in all formats.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit eda3758c87 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Carl Eugen Hoyos
866d5c958f
Export ff_vdpau_vc1_decode_picture().
XBMC's configure script checks for this function in installed
libavcodec.so to determine VDPAU support.
Fixes ticket #762 reported by Christian Marillat
(cherry picked from commit 9994643fdd )
14 years ago
Michael Niedermayer
834aef341d
cleanup: for(int
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 16b771b1f4 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
657737e58d
clenaup: #ifdec CONFIG*
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit b39e01a6e8 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
b92ef485c7
Fix all GNU %Ld
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 9aeaf62903 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
6289b6c811
twinnvq: remove ;;
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 35f707abe1 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
3dea28cc2e
h264: Fix concealment regression introduced by babf4fe01a
Limit the new case to when the decoder is flushed instead of at each idr frame
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
8743400961
h264: reset prev_poc_msb to the same value everywhere.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Shitiz Garg
8bd1f1a4c8
ttadec: check channel count as read from extradata.
fixes floating-point exception due to channels being set to 0.
fixes Bug 128.
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
14 years ago
Paul B Mahol
65c1011404
cljr: remove unused code
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Michael Niedermayer
cc61643123
h264: improve "no picture" debug output.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
5b2873c1d5
h264: switch from qatars has_b_frames calculation back to mine.
Their 2nd try does like the first not work at all.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
257c85cddd
adpcm: fix division by zero in fate/creative/intro-partial.wav with -s 2 and -r 0.001:1
Bug-Found-by: Shitiz Garg
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Janne Grunau
8d61eef917
ptx: fix inverted check for sufficient data
Fix regression introduced in 2b53e69 .
14 years ago
Janne Grunau
2b53e696c8
ptx: emit a warning on insufficient picture data
Return the whole packet as consumed in this case and not the size the
packet should have had. Move the insufficient data check into the for
condition to fix a ISO C90 error on bigendian.
14 years ago
Kostya Shishkov
19341c58e0
Dxtory capture format decoder
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Michael Niedermayer
f5ecc4c616
lavc: 1000l, unbreak ABI
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
02ce07f8c4
amvenc: support videos with heights that are not a multiple of 16.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Paul B Mahol
85cd1eb12f
add missing long_name for amv and dca encoder
Reviewed-by: Carl Eugen Hoyos
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Hendrik Leppkes
b7bf93b923
mlp: Use correct speaker locations in TrueHD channel layout.
(cherry picked from commit d7787835ad )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
5b98ea1b73
vb: Add some checks on input buffer related values.
Fixes crash with INTRO_FAIL.VB
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
4557d7d01f
libx264: workaround a bug in some versions of flash player
Fixes Ticket570
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
523da37f4c
cljrenc: 2x2 ordered dither support.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
74d9b21340
cljrenc: add AVOption to disable dither
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
43a36ad2ee
cljrenc: Add dither to avoid the banding artifcats caused by the very low
number of bits used to represent brightness levels.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Diego Biurrun
6b60a4c9c9
cljr: K&R cosmetics
14 years ago
Diego Biurrun
1c45c64c9d
cljr: return a more sensible value when encountering invalid headers
14 years ago
Diego Biurrun
163682fab3
cljr: drop unnecessary emms_c() calls without MMX code
14 years ago
Michael Niedermayer
bef8dfa056
escape130: replace can_safely_read() by get_bits_left()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
f7da12350e
escape130: give all av_log() a context
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
40d6296095
escape130: The minimum read in and after decode_skip_count() is 4 bits.
Thus we can check for 4 being available.
If the next block is skiped we need 4 bits to encode the skip. If the
next block is not skiped then we need 1 bit for the skip code and
at least 3 bits for the block.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
59d3656f6e
escape130: Check dimensions to be a multiple of the block size.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Mashiat Sarker Shakkhar
6d4deecfdf
Pass pointer to integer buffer instead of integer to memcpy
14 years ago
Carl Eugen Hoyos
8ac6469575
Silence a warning when compiling Escape 130 decoder.
Fixes:
libavcodec/escape130.c:177:17: warning: ISO C90 forbids mixed declarations and code
Reviewed-by: Paul B Mahol
14 years ago
Mans Rullgard
bbc10185ee
cljr: remove useless casts
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
baf3b6e594
cljr: group encode/decode parts under single ifdefs
This groups the encode/decode parts under single ifdefs and
eliminates the encode_init() function as it merely calls
common_init(). Also fix whitespace in moved code.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
9a1420bfda
cljr: remove stray semicolon
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago