diff options
Diffstat (limited to 'libavcodec/targa.c')
-rw-r--r-- | libavcodec/targa.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/targa.c b/libavcodec/targa.c index ff4390f675..2e51d80b3e 100644 --- a/libavcodec/targa.c +++ b/libavcodec/targa.c @@ -179,6 +179,7 @@ static int decode_frame(AVCodecContext *avctx, avcodec_set_dimensions(avctx, w, h); if ((ret = ff_get_buffer(avctx, p, 0)) < 0) return ret; + p->pict_type = AV_PICTURE_TYPE_I; if (flags & TGA_TOPTOBOTTOM) { dst = p->data[0]; |