Showing the changes to libavcodec (1 of 1 file). Show all
Unified · Split
| @@ -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 | } |