Anton Khirnov
a50b756280
lavc: remove stats_in from AVCodecContext options table.
Its documentation states that it is allocated/freed by the caller, but
it is declared as an AV_OPT_TYPE_STRING AVOption. Since
367732832f the AVOptions system frees
strings automatically. This can be considered an API break, since it
won't work when the caller doesn't use av_malloc() to allocate the
memory or wants to use the string after closing the codec.
Since there is not much value in this field being an AVOption, the best
solution is to remove it from the options table.
13 years ago
Paul B Mahol
69254f4628
LucasArts SMUSH video decoder
Signed-off-by: Paul B Mahol <onemda@gmail.com>
14 years ago
Paul B Mahol
b18357326c
LucasArts SMUSH VIMA audio decoder
Signed-off-by: Paul B Mahol <onemda@gmail.com>
14 years ago
Paul B Mahol
b2e2287c04
cdxl: disable checked bitstream reader
Overreads should not be possible.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Kostya Shishkov
005c80b645
MS Screen 1 decoder
13 years ago
Alex Converse
43886eaebc
aacdec: Fix popping channel layouts.
'channel_layout' not 'channels' from the stored configuration should go
to AVCodecContext's 'channel_layout'.
13 years ago
Michael Niedermayer
827667eca7
mjpegenc: use av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
4eae08b438
mjpegdec: use av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mans Rullgard
980f81d961
Use av_gettime() in various places
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
db7d8fb4ef
dct-test: use emms_c() from libavutil instead of duplicating it
13 years ago
Paul B Mahol
420990db30
libilbc: use designated initializers for AVClass
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Michael Niedermayer
18d7bea695
wmv2enc: fix rounding flag.
Fixes Ticket1467
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
6fb7d03d74
lavc: seperate encoder/decoder class category
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
82ac6a66f9
rv40dsp: use av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
208c5a08da
lavc/qtrlenc: return proper error codes from qtrle_encode_init()
13 years ago
Stefano Sabatini
5793a6d9f9
lavc/libschroedinger: add missing failure checks in ff_create_schro_frame()
13 years ago
Diego Biurrun
4cc2920dd2
flvdec: remove incomplete, disabled seeking code
14 years ago
Simon A. Eugster
7146177d18
lavc: Extend the documentation for avcodec_init_packet
Add a note that pkt->data and pkt->size must be initialized.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Stefano Sabatini
c90e8054af
lavc/avcodec.h: fix reference to nonexistent function in av_picture_copy() doxy
Mention av_image_copy() instead.
13 years ago
Stefano Sabatini
18b4404dc3
lavc/imgconvert: fix check on av_image_check_size() return code in avpicture_get_size()
The documentation states that av_image_check_size() will return a
negative value in case of error, while the check is done on ret != 0.
Also return a proper error code rather than -1 in case the check fails.
13 years ago
Stefano Sabatini
0b2ecf8224
lavc/imgconvert: remove pointless switch block from avpicture_fill()
13 years ago
Stefano Sabatini
b583ccc3db
lavc/rawdec: propagate duration from packet to frame
13 years ago
Justin Ruggles
cb5042d02c
float_dsp: Move vector_fmac_scalar() from libavcodec to libavutil
13 years ago
Michael Niedermayer
4b5c7d4d9a
huffyuv: switch to av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
da42f56985
asv1: switch to av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Martin Storsjö
3641b0489c
Add support for iLBC decoding/encoding via the external library libilbc
The library is 3-clause BSD licensed.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Ronald S. Bultje
db28b01dcf
dirac: replace compound literal with normal initialiser
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Michael Niedermayer
b90f83e905
snowenc: update selftest code for the new temporary arrays
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mans Rullgard
9fcda25e35
vorbisdec: replace div/mod in loop with a counter
2x speedup of surround decoding on Cortex-A9.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Carl Eugen Hoyos
3b3150ec9b
Fix interlaced prediction for RGB utvideo.
Fixes ticket #1215
13 years ago
Ronald S. Bultje
d9669eab0b
dwt: remove variable-length arrays
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Michael Niedermayer
1125606a1f
vp3dec: fix null ptr derefernce.
Fixes ticket1403
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
4aed3ac86a
msmpeg4enc: use av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
c390822e18
intel h263 dec: support advanced prediction
Fixes Ticket1292
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
137e80817d
lavc: build some codecs only if they are actually enabled
Saves few bytes if only some of them in same file are enabled.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Ronald S. Bultje
17fad33f81
Change all uses of restrict to use av_restrict instead.
Defining restrict results - for some compilers - in changing other
uses of the restrict keyword also, e.g. __declspec(restrict) gets
changed to __declspec(__restrict) on MSVC. This causes compilation
failures. Therefore, using a private namespace macro instead is
more reliable and robust.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
9946a6aa55
diracdsp: try to fix segfault
This might fix Ticket1412
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
3000074495
mpegvideo_common.h: use av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
6808759a58
lavc/rawdec: fix various bogus error codes and add some logs
Help debugging.
13 years ago
Stefano Sabatini
3cc1a89881
lavc/utils: in avcodec_decode_video2() return proper error code instead of -1
Return AVERROR(EINVAL) in case of invalid coded size.
13 years ago
Paul B Mahol
be32145e9d
j2kdec: move s->avctx initialization to j2kdec_init()
Signed-off-by: Paul B Mahol <onemda@gmail.com>
14 years ago
Paul B Mahol
29e9f83192
j2kdec: check colorspace ncomponents
This prevents out of array read.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Clément Bœsch
b678daf05c
lavc/microdvddec: fix color parsing.
13 years ago
Clément Bœsch
47395a4f52
lavc/microdvddec: properly reset non persistent color tag.
13 years ago
J. Bohl
0719e44b58
new attribute "extern inline" (fixing linker error with ff_get_mb_score and ff_get_mb_score)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
a09ae4ef65
Remove duplicated png and mng signatures.
Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Diego Biurrun
d246c18ea6
Avoid C99 variable declarations within for statements.
We generally do not declare variables within for statements and
there are compilers that choke on such constructs.
13 years ago
Michael Niedermayer
bb850480e1
mjpegenc: support slice multithreading
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
ddece75bc8
png_parser: use designated initializers
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Paul B Mahol
79c39a98cf
Add truehd decoder line.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago