aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/rv10.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-06-14 19:56:12 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-06-20 18:58:39 +0200
commit64d2bca4520f1bbc7e977cab306afc85f65b1937 (patch)
treeb8a08adccd9071fd0fd328b0a02b9a45f8322bea /libavcodec/rv10.c
parent594723ec3825c912a19d2fc6e1c6b01d0242452e (diff)
downloadffmpeg-64d2bca4520f1bbc7e977cab306afc85f65b1937.tar.gz
avcodec/rv10: Avoid indirection
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/rv10.c')
-rw-r--r--libavcodec/rv10.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/rv10.c b/libavcodec/rv10.c
index 65060d4ece..753c6c6cb3 100644
--- a/libavcodec/rv10.c
+++ b/libavcodec/rv10.c
@@ -385,11 +385,11 @@ static av_cold int rv10_decode_init(AVCodecContext *avctx)
case 2:
if (minor_ver >= 2) {
s->low_delay = 0;
- s->avctx->has_b_frames = 1;
+ avctx->has_b_frames = 1;
}
break;
default:
- av_log(s->avctx, AV_LOG_ERROR, "unknown header %X\n", rv->sub_id);
+ av_log(avctx, AV_LOG_ERROR, "unknown header %X\n", rv->sub_id);
avpriv_request_sample(avctx, "RV1/2 version");
return AVERROR_PATCHWELCOME;
}