mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-30 12:06:40 +08:00
lavc: AV-prefix all codec flags
Convert doxygen to multiline and express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
This commit is contained in:
@@ -46,9 +46,9 @@
|
||||
static void validate_thread_parameters(AVCodecContext *avctx)
|
||||
{
|
||||
int frame_threading_supported = (avctx->codec->capabilities & CODEC_CAP_FRAME_THREADS)
|
||||
&& !(avctx->flags & CODEC_FLAG_TRUNCATED)
|
||||
&& !(avctx->flags & CODEC_FLAG_LOW_DELAY)
|
||||
&& !(avctx->flags2 & CODEC_FLAG2_CHUNKS);
|
||||
&& !(avctx->flags & AV_CODEC_FLAG_TRUNCATED)
|
||||
&& !(avctx->flags & AV_CODEC_FLAG_LOW_DELAY)
|
||||
&& !(avctx->flags2 & AV_CODEC_FLAG2_CHUNKS);
|
||||
if (avctx->thread_count == 1) {
|
||||
avctx->active_thread_type = 0;
|
||||
} else if (frame_threading_supported && (avctx->thread_type & FF_THREAD_FRAME)) {
|
||||
|
||||
Reference in New Issue
Block a user