diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2005-03-15 23:50:24 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-03-15 23:50:24 +0000 |
commit | 4a7d265176accd6d5b4b8cd6c960ca087e07a7ec (patch) | |
tree | 71f2d2eddbb147d084bfca1ba4899a13f22f6fa1 /libavformat/avienc.c | |
parent | 625d98a319a779f9461e8f8d21c7ce065087fb8f (diff) | |
download | ffmpeg-4a7d265176accd6d5b4b8cd6c960ca087e07a7ec.tar.gz |
sample_size fix
Originally committed as revision 4043 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avienc.c')
-rw-r--r-- | libavformat/avienc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/avienc.c b/libavformat/avienc.c index 3fcee51ce4..daaa151818 100644 --- a/libavformat/avienc.c +++ b/libavformat/avienc.c @@ -396,7 +396,7 @@ static int avi_write_header(AVFormatContext *s) put_le32(pb, nb_frames); /* length, XXX: fill later */ put_le32(pb, 1024 * 1024); /* suggested buffer size */ put_le32(pb, -1); /* quality */ - put_le32(pb, stream->width * stream->height * 3); /* sample size */ + put_le32(pb, 0); /* sample size */ put_le16(pb, 0); put_le16(pb, 0); put_le16(pb, stream->width); |