Originally committed as revision 17919 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ronald S. Bultje authored on 2009/03/10 07:03:47... | ... |
@@ -468,7 +468,7 @@ static int sync(AVFormatContext *s, int64_t *timestamp, int *flags, int *stream_ |
468 | 468 |
skip: |
469 | 469 |
/* skip packet if unknown number */ |
470 | 470 |
url_fskip(pb, len); |
471 |
- rm->remaining_len -= len; |
|
471 |
+ rm->remaining_len = 0; |
|
472 | 472 |
continue; |
473 | 473 |
} |
474 | 474 |
*stream_index= i; |