summaryrefslogtreecommitdiff
path: root/libavcodec/bintext.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/bintext.c')
-rw-r--r--libavcodec/bintext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/bintext.c b/libavcodec/bintext.c
index 0b46dd444e..91167ba150 100644
--- a/libavcodec/bintext.c
+++ b/libavcodec/bintext.c
@@ -139,7 +139,7 @@ static int decode_frame(AVCodecContext *avctx,
av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");
return -1;
}
- s->frame.pict_type = FF_I_TYPE;
+ s->frame.pict_type = AV_PICTURE_TYPE_I;
s->frame.palette_has_changed = 1;
memcpy(s->frame.data[1], s->palette, 16 * 4);