diff options
author | Muhammad Faiz <mfcc64@gmail.com> | 2017-04-22 15:54:58 +0700 |
---|---|---|
committer | Muhammad Faiz <mfcc64@gmail.com> | 2017-04-23 14:27:47 +0700 |
commit | 31f61b0d4f8d452becb44f044c739f9057900159 (patch) | |
tree | 624d61d8db11c10d9f01aabaf649aa1f45a497d3 /libavcodec/proresdec2.c | |
parent | fdeab95a823b10adda6f29d134122537c21578e2 (diff) |
avcodec: do not use AVFrame accessor
Reviewed-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
Diffstat (limited to 'libavcodec/proresdec2.c')
-rw-r--r-- | libavcodec/proresdec2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/proresdec2.c b/libavcodec/proresdec2.c index ff46bcfde0..73b161f9a5 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; |