diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-02-14 17:20:42 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-02-14 17:20:42 +0000 |
commit | 50ee2c4131f1c6be6238a5db5d6b477111005a82 (patch) | |
tree | 7db1f673cb691453e462ec7ee0af87a60bc4e5c3 /ffmpeg.c | |
parent | 42608d6508636be399e2f91003e98bc74ef96138 (diff) | |
download | ffmpeg-50ee2c4131f1c6be6238a5db5d6b477111005a82.tar.gz |
fix image resize
Originally committed as revision 2785 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |