mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 19:59:46 +00:00
lavf utils: Rename shadowing variable
This commit is contained in:
parent
5166376f24
commit
4439caa482
@ -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){
|
||||
|
Loading…
Reference in New Issue
Block a user