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