Anton Khirnov
c2597c5a0a
h264_refs: cosmetics, reformat
13 years ago
Anton Khirnov
f08fefc4d0
h264: remove a useless svq3 condition
The svq3 decoder does not call ff_h264_frame_start() anymore.
13 years ago
Anton Khirnov
07054015cf
mpegvideo: remove FMT_H264
13 years ago
Anton Khirnov
ee8704916d
mpegvideo: reindent
13 years ago
Anton Khirnov
19cac8e301
mpegvideo: remove useless references to h264 and svq3
The h264 decoder does not use mpegvideo anymore. The svq3 decoder only
uses ff_draw_horiz_band().
13 years ago
Anton Khirnov
d6ed604cf4
lavc: remove disabled FF_API_IDCT cruft
13 years ago
Anton Khirnov
3bcdf8dcb9
lavc: remove disabled FF_API_SNOW cruft
13 years ago
Anton Khirnov
fcb07e8b33
lavc: remove disabled FF_API_MMI cruft
13 years ago
Anton Khirnov
de27d2b92f
lavc: remove disabled FF_API_LIBMPEG2 cruft
13 years ago
Anton Khirnov
0517c9e098
lavc: remove disabled FF_API_AVCODEC_RESAMPLE cruft
13 years ago
Janne Grunau
684e3d2e1c
ra144: check buffer size before requesting a buffer
Return an error on incomplete frames.
13 years ago
Janne Grunau
08149b2b39
wmapro: unref skipped frames
13 years ago
Janne Grunau
e3232f3431
svq1: use av_frame_free to free refcounted frame
Fixes a memleak due to avcodec_free_frame not freeing the frame data.
13 years ago
Anton Khirnov
669cc0f364
lavc: fix get_buffer() compatibility layer for audio.
planes - FF_ARRAY_ELEMS would be evaluated as unsigned and underflow
instead of being negative as was intended.
13 years ago
Anton Khirnov
98cec5c84f
ratecontrol: remove an unused variable
14 years ago
Anton Khirnov
e2c2974120
vorbisdec: do not leak the first frame.
13 years ago
Anton Khirnov
adfa53d67c
lavc: remove disabled FF_API_VDA_ASYNC cruft
13 years ago
Anton Khirnov
bdd1567c35
lavc: remove disabled FF_API_CODEC_ID cruft
13 years ago
Anton Khirnov
7d42fd6bb9
lavc: remove disabled FF_API_FIND_BEST_PIX_FMT cruft
13 years ago
Anton Khirnov
845017105f
lavc: remove disabled FF_API_DSP_MASK cruft
13 years ago
Anton Khirnov
d03a94e2b7
lavc: remove disabled FF_API_SUB_ID cruft
13 years ago
Anton Khirnov
2a11369523
lavc: remove disabled FF_API_INTER_THRESHOLD cruft
13 years ago
Anton Khirnov
9d6cf81f02
lavc: remove disabled FF_API_COLOR_TABLE_ID cruft
13 years ago
Anton Khirnov
3b0f586f07
lavc: remove disabled FF_API_MPV_GLOBAL_OPTS cruft
13 years ago
Anton Khirnov
0f24a3ca99
lavc: remove disabled FF_API_OLD_ENCODE_VIDEO cruft
13 years ago
Anton Khirnov
f073b1500e
lavc: remove disabled FF_API_OLD_ENCODE_AUDIO cruft
13 years ago
Anton Khirnov
5d606863c3
lavc: remove disabled FF_API_OLD_DECODE_AUDIO cruft
13 years ago
Justin Ruggles
486f0b0cfc
png: use av_mallocz_array() for the zlib zalloc function
Fixes valgrind uninitialized memory errors when decoding png.
CC:libav-stable@libav.org
13 years ago
Justin Ruggles
e984f47873
libmp3lame: use the correct remaining buffer size when flushing
CC:libav-stable@libav.org
13 years ago
Anton Khirnov
7c45087b84
lavc: update the fallback versions of ff_thread_*
Fixes build without threads after
759001c534 .
13 years ago
Yusuke Nakamura
19dd4017ab
libopencore-amr: Add the missing 3rd argument of ff_get_buffer()
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Anton Khirnov
f86d66bcfa
vmdaudio: fix invalid reads when packet size is not a multiple of chunk size
CC:libav-stable@libav.org
13 years ago
Anton Khirnov
4c0080b7e7
wmaprodec: return an error, not 0, when the input is too small.
Returning 0 may result in an infinite loop in valid calling programs. A
decoder should never return 0 without producing any output.
CC:libav-stable@libav.org
13 years ago
Anton Khirnov
cacad1c058
wmaprodec: require block_align to be set.
Avoids an infinite loop in the calling programs with decoder not
consuming any input and not returning output.
CC:libav-stable@libav.org
13 years ago
Anton Khirnov
ea1136baaf
wmadec: require block_align to be set.
Avoids an infinite loop in the calling programs with decoder not
consuming any input and not returning output.
CC:libav-stable@libav.org
13 years ago
Anton Khirnov
3ba40ebb6c
ivi_common: do not call MC for intra frames when dc_transform is unset
CC:libav-stable@libav.org
13 years ago
Anton Khirnov
3e2f200237
roqvideodec: fix a potential infinite loop in roqvideo_decode_frame().
When there is just 1 byte remanining in the buffer, nothing will be read
and the loop will continue forever. Check that there are at least 8
bytes, which are always read at the beginning.
CC:libav-stable@libav.org
13 years ago
Anton Khirnov
8a49d2bcbe
xxan: fix invalid memory access in xan_decode_frame_type0()
The loop a few lines below the xan_unpack() call accesses up to
dec_size * 2 bytes into y_buffer, so dec_size must be limited to
buffer_size / 2.
CC:libav-stable@libav.org
13 years ago
Anton Khirnov
d243896987
ffv1: fix calculating slice dimensions for version 2
It got broken in 0f13cd3187 .
CC:libav-stable@libav.org
13 years ago
Anton Khirnov
7b89cd20d8
eamad: allocate a dummy reference frame when the real one is missing
CC:libav-stable@libav.org
13 years ago
Anton Khirnov
542b83fc90
Replace some forgotten instances of PIX_FMT_* with AV_PIX_FMT_*.
13 years ago
Anton Khirnov
d8b31be6ca
Add the bumps and APIchanges entries for reference counted buffers changes.
13 years ago
Anton Khirnov
8df23e938b
lavc: postpone the removal of request_channels API.
Its replacement is still not ready.
13 years ago
Anton Khirnov
ddcca4ba07
lavc: stop setting AVFrame.motion_subsample_log2
It is not used inside lavc anywhere and now it makes no sense to export
it.
13 years ago
Anton Khirnov
37045e4229
mpegvideo: drop vismv code
It has been broken for over a year without anyone complaining or
noticing, thus proving that nobody ever uses it.
13 years ago
Anton Khirnov
2eba9087f3
lavc: make up a fake frame channel layout when there is no real one.
This should ensure that a valid channel layout is always set on a frame,
until a better solution is implemented.
13 years ago
Anton Khirnov
192f1984b1
lavc: limit maximum number of channels to 63
This is the most that can be represented with the current channel layout
system. This limit should be raised/removed when a better system is
implemented.
13 years ago
Anton Khirnov
15ec0450b4
lavc: allow decoders to override frame parameters.
13 years ago
Anton Khirnov
3b199d29cd
lavc decoders: properly initialize AVFrame.
13 years ago
Anton Khirnov
759001c534
lavc decoders: work with refcounted frames.
13 years ago