This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
targa: set pict_type
Signed-off-by: Paul B Mahol <onemda@gmail.com>
tags/n2.1
Paul B Mahol
11 years ago
parent
3ea5d01a12
commit
d9954ccff0
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
libavcodec/targa.c
+ 1
- 0
libavcodec/targa.c
View File
@@ -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];
Write
Preview
Loading…
Cancel
Save