diff asf.c @ 4167:81f64d590675 libavformat

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".
author rbultje
date Wed, 07 Jan 2009 14:50:19 +0000
parents 55e94f2a8ac1
children 77e0c7511d41
line wrap: on
line diff
--- a/asf.c	Wed Jan 07 14:48:17 2009 +0000
+++ b/asf.c	Wed Jan 07 14:50:19 2009 +0000
@@ -722,7 +722,7 @@
             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;
             }