Commit d9954ccf authored by Paul B Mahol's avatar Paul B Mahol

targa: set pict_type

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 3ea5d01a
......@@ -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];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment