diff options
author | Paul B Mahol <onemda@gmail.com> | 2013-07-27 11:25:54 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2013-07-27 12:02:18 +0000 |
commit | d9954ccff07be9365db9933138c8c94e028d0a5b (patch) | |
tree | c8cf00955f36db2b4cca6eee234a1344de55242d /libavcodec | |
parent | 3ea5d01a12ed0addd03f1fc33b1e9de350198256 (diff) | |
download | ffmpeg-d9954ccff07be9365db9933138c8c94e028d0a5b.tar.gz |
targa: set pict_type
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec')
-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]; |