Commit fbf4e1c8 authored by michael's avatar michael

10l (a level of indirection too much) patch by (Wolfram Gloger <wmglo dent.med.uni-muenchen de>)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@3834 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 18cdc20e
...@@ -409,7 +409,7 @@ static int avi_write_header(AVFormatContext *s) ...@@ -409,7 +409,7 @@ static int avi_write_header(AVFormatContext *s)
parse_specific_params(stream, &au_byterate, &au_ssize, &au_scale); parse_specific_params(stream, &au_byterate, &au_ssize, &au_scale);
put_le32(pb, au_scale); /* scale */ put_le32(pb, au_scale); /* scale */
put_le32(pb, au_byterate); /* rate */ put_le32(pb, au_byterate); /* rate */
av_set_pts_info(&s->streams[i], 64, au_scale, au_byterate); av_set_pts_info(s->streams[i], 64, au_scale, au_byterate);
put_le32(pb, 0); /* start */ put_le32(pb, 0); /* start */
avi->frames_hdr_strm[i] = url_ftell(pb); /* remember this offset to fill later */ avi->frames_hdr_strm[i] = url_ftell(pb); /* remember this offset to fill later */
put_le32(pb, 0); /* length, XXX: filled later */ put_le32(pb, 0); /* length, XXX: filled later */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment