[FFmpeg-cvslog] asfdec: Remove dead code from asf_read_close().

Diego Biurrun git at videolan.org
Tue Apr 19 02:12:56 CEST 2011


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Sun Apr 17 19:48:27 2011 +0200| [0b5ae1fdd31ace06b507350128c6d15384e8f3df] | committer: Diego Biurrun

asfdec: Remove dead code from asf_read_close().

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0b5ae1fdd31ace06b507350128c6d15384e8f3df
---

 libavformat/asfdec.c |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c
index 36e9efa..8dc5291 100644
--- a/libavformat/asfdec.c
+++ b/libavformat/asfdec.c
@@ -1132,12 +1132,8 @@ static void asf_reset_header(AVFormatContext *s)
 
 static int asf_read_close(AVFormatContext *s)
 {
-    int i;
-
     asf_reset_header(s);
-    for(i=0;i<s->nb_streams;i++) {
-        AVStream *st = s->streams[i];
-    }
+
     return 0;
 }
 



More information about the ffmpeg-cvslog mailing list