Change type of prev_stream_id from uint32_t to int, since it has a max size
authorRonald S. Bultje <rsbultje@gmail.com>
Mon, 17 Nov 2008 18:10:02 +0000 (18:10 +0000)
committerRonald S. Bultje <rsbultje@gmail.com>
Mon, 17 Nov 2008 18:10:02 +0000 (18:10 +0000)
of 16bits. See discussion in "[PATCH] RDT/Realmedia patches #2" thread on ML.

Originally committed as revision 15864 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/rdt.c

index d55c1a8..08b76fa 100644 (file)
@@ -40,7 +40,8 @@ struct RDTDemuxContext {
     AVStream *st;
     void *dynamic_protocol_context;
     DynamicPayloadPacketHandlerProc parse_packet;
-    uint32_t prev_set_id, prev_timestamp;
+    uint32_t prev_timestamp;
+    int prev_set_id;
 };
 
 RDTDemuxContext *