mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-01-06 14:15:29 +01:00
lavc: AV-prefix all codec capabilities
Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
This commit is contained in:
@@ -1798,9 +1798,9 @@ AVCodec ff_h264_decoder = {
|
||||
.init = ff_h264_decode_init,
|
||||
.close = h264_decode_end,
|
||||
.decode = h264_decode_frame,
|
||||
.capabilities = /*CODEC_CAP_DRAW_HORIZ_BAND |*/ CODEC_CAP_DR1 |
|
||||
CODEC_CAP_DELAY | CODEC_CAP_SLICE_THREADS |
|
||||
CODEC_CAP_FRAME_THREADS,
|
||||
.capabilities = /*AV_CODEC_CAP_DRAW_HORIZ_BAND |*/ AV_CODEC_CAP_DR1 |
|
||||
AV_CODEC_CAP_DELAY | AV_CODEC_CAP_SLICE_THREADS |
|
||||
AV_CODEC_CAP_FRAME_THREADS,
|
||||
.flush = flush_dpb,
|
||||
.init_thread_copy = ONLY_IF_THREADS_ENABLED(decode_init_thread_copy),
|
||||
.update_thread_context = ONLY_IF_THREADS_ENABLED(ff_h264_update_thread_context),
|
||||
|
||||
Reference in New Issue
Block a user