| OLD | NEW |
| 1 diff -rpu -N orig/libavformat/oggdec.c ffmpeg-mt/libavformat/oggdec.c | 1 diff -wurp -N orig/libavformat/oggdec.c ffmpeg-mt/libavformat/oggdec.c |
| 2 --- orig/libavformat/oggdec.c» 2010-10-11 16:55:37 -0700 | 2 --- orig/libavformat/oggdec.c» 2010-11-04 08:09:13 -0700 |
| 3 +++ ffmpeg-mt/libavformat/oggdec.c» 2010-10-11 16:55:39 -0700 | 3 +++ ffmpeg-mt/libavformat/oggdec.c» 2010-11-04 08:09:16 -0700 |
| 4 @@ -596,6 +596,8 @@ ogg_read_timestamp (AVFormatContext * s, | 4 @@ -596,6 +596,8 @@ ogg_read_timestamp (AVFormatContext * s, |
| 5 ByteIOContext *bc = s->pb; | 5 ByteIOContext *bc = s->pb; |
| 6 int64_t pts = AV_NOPTS_VALUE; | 6 int64_t pts = AV_NOPTS_VALUE; |
| 7 int i; | 7 int i; |
| 8 + int packet = 0; | 8 + int packet = 0; |
| 9 + int64_t start_pos = *pos_arg; | 9 + int64_t start_pos = *pos_arg; |
| 10 url_fseek(bc, *pos_arg, SEEK_SET); | 10 url_fseek(bc, *pos_arg, SEEK_SET); |
| 11 ogg_reset(ogg); | 11 ogg_reset(ogg); |
| 12 | 12 |
| 13 @@ -604,6 +606,12 @@ ogg_read_timestamp (AVFormatContext * s, | 13 @@ -604,6 +606,12 @@ ogg_read_timestamp (AVFormatContext * s, |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 + struct ogg_stream *stream = ogg->streams + i; | 49 + struct ogg_stream *stream = ogg->streams + i; |
| 50 + stream->lastpts = 0; | 50 + stream->lastpts = 0; |
| 51 + stream->lastdts = 0; | 51 + stream->lastdts = 0; |
| 52 + } | 52 + } |
| 53 + os->keyframe_seek = 0; | 53 + os->keyframe_seek = 0; |
| 54 + } | 54 + } |
| 55 + url_fseek(s->pb, seek_pos, SEEK_SET); | 55 + url_fseek(s->pb, seek_pos, SEEK_SET); |
| 56 return ret; | 56 return ret; |
| 57 } | 57 } |
| 58 | 58 |
| OLD | NEW |