Commit 9780c28d authored by rbultje's avatar rbultje

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".



git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16470 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 8c73da40
...@@ -722,7 +722,7 @@ int ff_asf_parse_packet(AVFormatContext *s, ByteIOContext *pb, AVPacket *pkt) ...@@ -722,7 +722,7 @@ int ff_asf_parse_packet(AVFormatContext *s, ByteIOContext *pb, AVPacket *pkt)
return 1; return 1;
} }
if (asf->packet_time_start == 0) { 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; asf->packet_segments= 0;
continue; continue;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment