Michael Niedermayer
4ba396834d
h264: pass buffer & size to ff_h264_decode_extradata()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
9815039053
aacdec: disable locking code for parse_adts_frame_header() non zero chan config.
This fixes changing channels
It possibly might cause regressions but i cant avoid this without having a test
case that needs the locking code.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Luca Barbato
d554b33efe
ratecontrol: update last_qscale_for sooner
In order to make ratecontrol converge properly update the
last_qscale_for values when populating the qscale array.
It fixes the issue reported on
http://lists.libav.org/pipermail/libav-tools/2011-September/000050.html
13 years ago
Diego Biurrun
167d3b1673
prores: return more meaningful error values
13 years ago
Diego Biurrun
2161282439
prores: improve error message wording
13 years ago
Diego Biurrun
27ba121e90
prores: cosmetics: prettyprinting, drop useless parentheses
13 years ago
Diego Biurrun
2983f1f3be
prores: lowercase AVCodec name entry
All other codecs use lowercase names in that field.
13 years ago
Michael Niedermayer
93c220e895
forgot git add prores_*c
Authorship of the decoders is elvis / maxim. For more details see previous
comits
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Justin Ruggles
1993c6849c
8svx/iff: fix decoding of compressed stereo 8svx files.
Make the iff demuxer send the whole audio chunk to the decoder as a
single packet and move stereo interleaving from the iff demuxer to the
decoder.
Based on a patch by Stefano Sabatini.
git.videolan.org/ffmpeg.git
commit e280a4da2a
13 years ago
Justin Ruggles
fda459cee7
8svx: log an error message if output buffer is too small
Based on a patch by Stefano Sabatini.
git.videolan.org/ffmpeg.git
commit e280a4da2a
13 years ago
Justin Ruggles
0ac3b8fc4a
8svx: check packet size before reading the initial sample value.
13 years ago
Justin Ruggles
e371878416
8svx: output 8-bit samples instead of 16-bit.
Based on a patch by Stefano Sabatini.
git.videolan.org/ffmpeg.git
commit e280a4da2a
13 years ago
Justin Ruggles
ac68607bfe
8svx: split delta decoding into a separate function.
Based on a patch by Stefano Sabatini.
git.videolan.org/ffmpeg.git
commit e280a4da2a
13 years ago
Michael Niedermayer
f9bb7395a1
mpeg4videoenc: remove forgotten return -1
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
394781a897
mpeg4videoenc: guess a good aspect when we cant store the exact one.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Maxim Poliakovski
be64629a13
Apple ProRes decoder
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Laurent Aimar
fe476e5a9b
rv34: Check for invalid slices offsets
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Jonne Ahner
8a73246391
prores: skip alpha if present
13 years ago
Laurent Aimar
7c249d4fba
Check for huffman tree building error in vp6 decoder.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Laurent Aimar
dba20b8478
Release old pictures after a resolution change in vp5/6 decoder
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Laurent Aimar
6a0e78929a
Check for missing reference in vp5/6 decoder.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Laurent Aimar
b64269ce55
Check for invalid slices offsets in RV30/40 decoder.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Laurent Aimar
741ec30bd2
Check output buffer size in nellymoser decoder.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Carl Eugen Hoyos
3039c68626
Fix dxva2 decoding for some H264 samples.
13 years ago
Mans Rullgard
ae2e89717b
dct-test: factor out some common code and do whas was likely intended
This fixes some nonsensical code by moving some should-be-shared
code to separate functions and using these.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Anton Khirnov
609a2fa1fa
Remove some forgotten AVCodecContext.palctrl usage.
14 years ago
Anton Khirnov
9ecfbb3e57
lavc/utils: move avcodec_init() higher in the file.
Fixes build on next major bump.
14 years ago
Anton Khirnov
e5b29c1f6b
lavc: replace some deprecated FF_*_TYPE with AV_PICTURE_TYPE_*
14 years ago
Anton Khirnov
feedc0754b
ac3dec: actually use drc_scale private option
14 years ago
Anton Khirnov
63e4c8a653
lavc: undeprecate AVPALETTE_SIZE and AVPALETTE_COUNT macros
They are still being used and shouldn't be removed.
14 years ago
Diego Biurrun
a3e0135dbb
msmpeg4: remove leftover unused debug variable declaration
13 years ago
Diego Biurrun
95a06eb4d5
Fix assert() calls that need updates after FF_COMMON_FRAME macro elimination.
This fixes build failures with -DDEBUG in CPPFLAGS.
13 years ago
Diego Biurrun
35a6855868
Fix av_dlog invocations with wrong or missing logging context.
This fixes build failures with -DDEBUG in CPPFLAGS.
13 years ago
Michael Niedermayer
358d837dad
prores: Add forgotten Copyright statements
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
743e1df5c2
prores: Simplify code further
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Jonne Ahner
ecb0edd9d7
prores: simplify 4444 handling
13 years ago
Jonne Ahner
d673972d30
prores: fixes a few prores 4444 samples
13 years ago
Jonne Ahner
989c02825e
prores: use shift instead of multiply
13 years ago
Reimar Döffinger
0bbb1cdc28
Use correct LOCAL_ALIGNED for stack variables instead of DECLARE_ALIGNED.
LOCAL_ALIGNED should work for all compilers/systems whereas
DECLARE_ALIGNED does not work on some (do not remember which though).
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Reimar Döffinger
b9acca288e
Remove unused variable.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Laurent Aimar
4cc7732386
rv34: Check for invalid slice offsets
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Michael Niedermayer
4832ed4c62
h264: do not increase recovery frame which would lead to endless moving away of the recovery point.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
a8a9844a3c
h264: reset recovery frame on seeks.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Laurent Aimar
8716c178dd
Check for invalid slice offsets in real decoder.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
16c5d3b0d0
allcodecs: cosmetic
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Laurent Aimar
b4ed3d78cb
rv34: Fix potential overreads
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Laurent Aimar
d2213b6493
rv34: Fix buffer size used for MC of B frames after a resolution change
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Laurent Aimar
d0f6ab0298
rv34: Avoid NULL dereference on corrupted bitstream
rv34_decode_slice() can return without allocating any pictures.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Laurent Aimar
4a29b47186
rv10: Reject slices that does not have the same type as the first one
This prevents crashes with some corrupted bitstreams.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
John Stebbins
53e37840bf
calculate frame_num for recovery point "keyframe"
recovery points that have non-zero recovery_frame_cnt resulted in
flagging incomplete frames as keyframes. This delays setting the
keyframe flag till the frame has been fully constructed.
13 years ago