mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-30 06:30:59 +00:00
ffmpeg: stop using deprecated codec flags
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
bd717340a2
commit
2f05d18ee2
2
ffmpeg.c
2
ffmpeg.c
@ -1541,7 +1541,7 @@ static void print_final_stats(int64_t total_size)
|
||||
}
|
||||
extra_size += ost->enc_ctx->extradata_size;
|
||||
data_size += ost->data_size;
|
||||
if ( (ost->enc_ctx->flags & (AV_CODEC_FLAG_PASS1 | CODEC_FLAG_PASS2))
|
||||
if ( (ost->enc_ctx->flags & (AV_CODEC_FLAG_PASS1 | AV_CODEC_FLAG_PASS2))
|
||||
!= AV_CODEC_FLAG_PASS1)
|
||||
pass1_used = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user