History

avcodec/rv10: Avoid indirection

Andreas Rheinhardt committed 2 years ago

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

Showing the changes to libavcodec (1 of 1 file). Show all

Unified · Split

libavcodec/rv10.c+2−2
@@ -385,11 +385,11 @@ static av_cold int rv10_decode_init(AVCodecContext *avctx) · 384 unmodified lines
385 case 2:385 case 2:
386 if (minor_ver >= 2) {386 if (minor_ver >= 2) {
387 s->low_delay = 0;387 s->low_delay = 0;
388 s->avctx->has_b_frames = 1;388 avctx->has_b_frames = 1;
389 }389 }
390 break;390 break;
391 default:391 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);
393 avpriv_request_sample(avctx, "RV1/2 version");393 avpriv_request_sample(avctx, "RV1/2 version");
394 return AVERROR_PATCHWELCOME;394 return AVERROR_PATCHWELCOME;
395 }395 }

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