changeset 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 1dbda91eaebd
children 0ebf63d12ea4
files asf.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;
             }