projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5166376
)
lavf utils: Rename shadowing variable
author
Alex Converse
<alex.converse@gmail.com>
Tue, 13 Sep 2011 22:26:25 +0000
(15:26 -0700)
committer
Alex Converse
<alex.converse@gmail.com>
Wed, 14 Sep 2011 17:35:42 +0000
(10:35 -0700)
libavformat/utils.c
patch
|
blob
|
history
diff --git
a/libavformat/utils.c
b/libavformat/utils.c
index
6077be9
..
3cca5b2
100644
(file)
--- 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 re
t
;
+ int re
ad_status
;
do{
- re
t
= av_read_frame(s, &pkt);
- }
while(ret
== AVERROR(EAGAIN));
- if
(ret<
0)
+ re
ad_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){