projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42608d6
)
fix image resize
author
Michael Niedermayer
<michaelni@gmx.at>
Sat, 14 Feb 2004 17:20:42 +0000
(17:20 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sat, 14 Feb 2004 17:20:42 +0000
(17:20 +0000)
Originally committed as revision 2785 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffmpeg.c
patch
|
blob
|
history
diff --git
a/ffmpeg.c
b/ffmpeg.c
index
6503e11
..
a8c3a93
100644
(file)
--- a/
ffmpeg.c
+++ b/
ffmpeg.c
@@
-1271,7
+1271,7
@@
static int av_encode(AVFormatContext **output_files,
} else {
ost->video_resample = 1;
ost->video_crop = 0; // cropping is handled as part of resample
- if( avpicture_alloc( &ost->pict_tmp,
codec->pix_fmt
,
+ if( avpicture_alloc( &ost->pict_tmp,
PIX_FMT_YUV420P
,
codec->width, codec->height ) )
goto fail;