[FFmpeg-cvslog] r16470 - trunk/libavformat/asf.c

rbultje subversion
Wed Jan 7 15:50:19 CET 2009


Author: rbultje
Date: Wed Jan  7 15:50:19 2009
New Revision: 16470

Log:
Don't use s->pb if a local ByteIOContext was already provided by the calling
function. See mailinglist thread "[PATCH] RTSP-MS 1/15: don't use s->pb in
asf.c".

Modified:
   trunk/libavformat/asf.c

Modified: trunk/libavformat/asf.c
==============================================================================
--- trunk/libavformat/asf.c	Wed Jan  7 15:48:17 2009	(r16469)
+++ trunk/libavformat/asf.c	Wed Jan  7 15:50:19 2009	(r16470)
@@ -722,7 +722,7 @@ int ff_asf_parse_packet(AVFormatContext 
             return 1;
         }
         if (asf->packet_time_start == 0) {
-            if(asf_read_frame_header(s, s->pb) < 0){
+            if(asf_read_frame_header(s, pb) < 0){
                 asf->packet_segments= 0;
                 continue;
             }




More information about the ffmpeg-cvslog mailing list