diff rmdec.c @ 5926:e4080988d1b2 libavformat

Another uninitialized value. See http://tranquillity.ath.cx/clang/2010-03-30-1/report-e6KUTb.html#EndPath
author rbultje
date Fri, 02 Apr 2010 14:58:55 +0000
parents 71db16df0562
children 08cd1179a20d
line wrap: on
line diff
--- a/rmdec.c	Fri Apr 02 14:58:03 2010 +0000
+++ b/rmdec.c	Fri Apr 02 14:58:55 2010 +0000
@@ -860,6 +860,7 @@
                 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, &timestamp, &flags, &i, &pos);
                 if (len > 0)