mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Merge commit '007e27d363ba7d994019dc897dc9c39071bb204a'
* commit '007e27d363ba7d994019dc897dc9c39071bb204a': avcodec: add missing CODEC_CAP_DR1 to codecs using get_buffer() Conflicts: libavcodec/atrac3plusdec.c libavcodec/sp5xdec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
9cf95654ac
@ -392,6 +392,7 @@ AVCodec ff_atrac3p_decoder = {
|
||||
.long_name = NULL_IF_CONFIG_SMALL("ATRAC3+ (Adaptive TRansform Acoustic Coding 3+)"),
|
||||
.type = AVMEDIA_TYPE_AUDIO,
|
||||
.id = AV_CODEC_ID_ATRAC3P,
|
||||
.capabilities = CODEC_CAP_DR1,
|
||||
.priv_data_size = sizeof(ATRAC3PContext),
|
||||
.init = atrac3p_decode_init,
|
||||
.close = atrac3p_decode_close,
|
||||
|
@ -2156,7 +2156,7 @@ AVCodec ff_jpeg2000_decoder = {
|
||||
.long_name = NULL_IF_CONFIG_SMALL("JPEG 2000"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
.id = AV_CODEC_ID_JPEG2000,
|
||||
.capabilities = CODEC_CAP_FRAME_THREADS,
|
||||
.capabilities = CODEC_CAP_FRAME_THREADS | CODEC_CAP_DR1,
|
||||
.priv_data_size = sizeof(Jpeg2000DecoderContext),
|
||||
.init_static_data = jpeg2000_init_static_data,
|
||||
.init = jpeg2000_decode_init,
|
||||
|
@ -120,6 +120,7 @@ AVCodec ff_amv_decoder = {
|
||||
.close = ff_mjpeg_decode_end,
|
||||
.decode = sp5x_decode_frame,
|
||||
.max_lowres = 3,
|
||||
.capabilities = CODEC_CAP_DR1,
|
||||
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
|
||||
};
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user