mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
targa: set pict_type
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
3ea5d01a12
commit
d9954ccff0
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user