diff options
Diffstat (limited to 'libavformat/rmdec.c')
-rw-r--r-- | libavformat/rmdec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c index ea9732544e..b8abcfc0b1 100644 --- a/libavformat/rmdec.c +++ b/libavformat/rmdec.c @@ -860,6 +860,7 @@ static int rm_read_packet(AVFormatContext *s, AVPacket *pkt) len = !ast->audio_framesize ? RAW_PACKET_SIZE : ast->coded_framesize * ast->sub_packet_h / 2; flags = (seq++ == 1) ? 2 : 0; + pos = url_ftell(s->pb); } else { len=sync(s, ×tamp, &flags, &i, &pos); if (len > 0) |