diff options
author | Marton Balint <cus@passwd.hu> | 2023-07-22 19:24:15 +0200 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2023-07-27 21:24:23 +0200 |
commit | f983303af4f53c9837fe8dddd39f20826651db17 (patch) | |
tree | 2cc7f34ca178918bef65c6b8c6f8e8c3453e8a6b /libavcodec/libaomenc.c | |
parent | 4fa1d3e7910c3fbe3aacbe5ae5233d0067569c02 (diff) | |
download | ffmpeg-f983303af4f53c9837fe8dddd39f20826651db17.tar.gz |
avcodec: fix misleading indentation warnings after ticks_per_frame deprecation
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavcodec/libaomenc.c')
-rw-r--r-- | libavcodec/libaomenc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/libaomenc.c b/libavcodec/libaomenc.c index 16747e7e92..f29cb0784a 100644 --- a/libavcodec/libaomenc.c +++ b/libavcodec/libaomenc.c @@ -1299,7 +1299,7 @@ static int aom_encode(AVCodecContext *avctx, AVPacket *pkt, duration = frame->duration; else if (avctx->framerate.num > 0 && avctx->framerate.den > 0) duration = av_rescale_q(1, av_inv_q(avctx->framerate), avctx->time_base); - else + else { FF_DISABLE_DEPRECATION_WARNINGS duration = #if FF_API_TICKS_PER_FRAME @@ -1307,6 +1307,7 @@ FF_DISABLE_DEPRECATION_WARNINGS #endif 1; FF_ENABLE_DEPRECATION_WARNINGS + } switch (frame->color_range) { case AVCOL_RANGE_MPEG: |