diff options
author | Alex Converse <alex.converse@gmail.com> | 2011-09-13 15:26:25 -0700 |
---|---|---|
committer | Alex Converse <alex.converse@gmail.com> | 2011-09-14 10:35:42 -0700 |
commit | 4439caa482fc25b8121a2429706155a3f67a1850 (patch) | |
tree | 0853d29320359dc158dead2f20ace339891039a6 /libavformat | |
parent | 5166376f24545207607f61ed8ff4e1b0572ff320 (diff) | |
download | ffmpeg-streaming-4439caa482fc25b8121a2429706155a3f67a1850.zip ffmpeg-streaming-4439caa482fc25b8121a2429706155a3f67a1850.tar.gz |
lavf utils: Rename shadowing variable
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/utils.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index 6077be9..3cca5b2 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -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){ |