aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-04-17 19:48:27 +0200
committerDiego Biurrun <diego@biurrun.de>2011-04-18 15:35:45 +0200
commit0b5ae1fdd31ace06b507350128c6d15384e8f3df (patch)
tree586cfd4009246c281697c019fd98620ac2f3d1fc
parent259a3e70ed828d85f0e588f90e73350a923c9cbc (diff)
downloadffmpeg-0b5ae1fdd31ace06b507350128c6d15384e8f3df.tar.gz
asfdec: Remove dead code from asf_read_close().
-rw-r--r--libavformat/asfdec.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c
index 36e9efad75..8dc5291ff1 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;
}