Mercurial > libavformat.hg
changeset 704:500654895ab7 libavformat
sample_size fix
author | michael |
---|---|
date | Tue, 15 Mar 2005 23:50:24 +0000 |
parents | 81107e92a7a5 |
children | 594a9b0cacf5 |
files | avienc.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/avienc.c Tue Mar 15 21:25:59 2005 +0000 +++ b/avienc.c Tue Mar 15 23:50:24 2005 +0000 @@ -396,7 +396,7 @@ 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);