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