Commit 4439caa4 authored by Alex Converse's avatar Alex Converse

lavf utils: Rename shadowing variable

parent 5166376f
......@@ -1714,11 +1714,11 @@ static int seek_frame_generic(AVFormatContext *s,
return ret;
}
for(i=0;; i++) {
int ret;
int read_status;
do{
ret = av_read_frame(s, &pkt);
}while(ret == AVERROR(EAGAIN));
if(ret<0)
read_status = av_read_frame(s, &pkt);
} while (read_status == AVERROR(EAGAIN));
if (read_status < 0)
break;
av_free_packet(&pkt);
if(stream_index == pkt.stream_index){
......
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