summaryrefslogtreecommitdiff
path: root/libavformat/asf.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2009-01-07 14:50:19 +0000
committerRonald S. Bultje <rsbultje@gmail.com>2009-01-07 14:50:19 +0000
commitb0d75d6036d8762a0019a9a976e913b9ac9bf7f8 (patch)
tree12b63777312eb30963bdf3d4b1bf2dda73b4c27f /libavformat/asf.c
parent572c6a3814c7f08e9dca0cceaeb19265fcc57a6e (diff)
downloadffmpeg-b0d75d6036d8762a0019a9a976e913b9ac9bf7f8.tar.gz
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". Originally committed as revision 16470 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/asf.c')
-rw-r--r--libavformat/asf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/asf.c b/libavformat/asf.c
index 1d5c149ea8..33cde4c6c9 100644
--- a/libavformat/asf.c
+++ b/libavformat/asf.c
@@ -722,7 +722,7 @@ int ff_asf_parse_packet(AVFormatContext *s, ByteIOContext *pb, AVPacket *pkt)
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;
}