forked from FFmpeg/FFmpeg
Get rid of a warning from asfcheck. Not sure that it really helps with WMP though!
Originally committed as revision 1241 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
f2677d6b26
commit
b13a517f95
1 changed files with 1 additions and 1 deletions
|
@ -586,7 +586,7 @@ static void put_frame(AVFormatContext *s, ASFStream *stream, int timestamp,
|
||||||
if (frag_len1 > 0) {
|
if (frag_len1 > 0) {
|
||||||
if (frag_len > frag_len1)
|
if (frag_len > frag_len1)
|
||||||
frag_len = frag_len1;
|
frag_len = frag_len1;
|
||||||
put_frame_header(s, stream, timestamp, payload_size, frag_pos, frag_len);
|
put_frame_header(s, stream, timestamp+1, payload_size, frag_pos, frag_len);
|
||||||
put_buffer(&asf->pb, buf, frag_len);
|
put_buffer(&asf->pb, buf, frag_len);
|
||||||
asf->packet_size_left -= (frag_len + FRAME_HEADER_SIZE);
|
asf->packet_size_left -= (frag_len + FRAME_HEADER_SIZE);
|
||||||
asf->packet_timestamp_end = timestamp;
|
asf->packet_timestamp_end = timestamp;
|
||||||
|
|
Loading…
Add table
Reference in a new issue