History

avcodec/rv10: Avoid indirection

Andreas Rheinhardt committed 2 years ago

Commit 64d2bca1 parent 594723e1 file · +2 −2Browse files

Unified · Split

libavcodec/rv10.c+2−2
@@ -385,11 +385,11 @@ static av_cold int rv10_decode_init(AVCodecContext *avctx) · 384 unmodified lines
385385 case 2:
386386 if (minor_ver >= 2) {
387387 s->low_delay = 0;
388− s->avctx->has_b_frames = 1;
388+ avctx->has_b_frames = 1;
389389 }
390390 break;
391391 default:
392− av_log(s->avctx, AV_LOG_ERROR, "unknown header %X\n", rv->sub_id);
392+ av_log(avctx, AV_LOG_ERROR, "unknown header %X\n", rv->sub_id);
393393 avpriv_request_sample(avctx, "RV1/2 version");
394394 return AVERROR_PATCHWELCOME;
395395 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t