You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-16 22:42:38 +02: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:
@ -304,7 +304,8 @@ static int submit_packet(PerThreadContext *p, AVPacket *avpkt)
|
||||
PerThreadContext *prev_thread = fctx->prev_thread;
|
||||
const AVCodec *codec = p->avctx->codec;
|
||||
|
||||
if (!avpkt->size && !(codec->capabilities & CODEC_CAP_DELAY)) return 0;
|
||||
if (!avpkt->size && !(codec->capabilities & AV_CODEC_CAP_DELAY))
|
||||
return 0;
|
||||
|
||||
pthread_mutex_lock(&p->mutex);
|
||||
|
||||
|
Reference in New Issue
Block a user