X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fproresdec2.c;h=73b161f9a5c4806d3eb88eb136212305c488f483;hb=31f61b0d4f8d452becb44f044c739f9057900159;hp=ff46bcfde0d723431e16a69d48d2d7a68e142d10;hpb=a329b822e17a39c173ffc5dfcc0dd21c95da1d9c;p=ffmpeg diff --git a/libavcodec/proresdec2.c b/libavcodec/proresdec2.c index ff46bcfde0d..73b161f9a5c 100644 --- a/libavcodec/proresdec2.c +++ b/libavcodec/proresdec2.c @@ -622,7 +622,7 @@ static int decode_picture(AVCodecContext *avctx) error += ctx->slices[i].ret < 0; if (error) - av_frame_set_decode_error_flags(ctx->frame, FF_DECODE_ERROR_INVALID_BITSTREAM); + ctx->frame->decode_error_flags = FF_DECODE_ERROR_INVALID_BITSTREAM; if (error < ctx->slice_count) return 0;