Commit b13a517f authored by Philip Gladstone's avatar Philip Gladstone
Browse files

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
parent f2677d6b
...@@ -586,7 +586,7 @@ static void put_frame(AVFormatContext *s, ASFStream *stream, int timestamp, ...@@ -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;
......
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