diff options
author | Alexandra Hájková <alexandra.khirnova@gmail.com> | 2015-07-22 21:38:15 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2015-07-23 09:47:59 +0200 |
commit | ee80f834cbb6dbacdc1efb4c658a7d775e82ebff (patch) | |
tree | 0c5b7761179b224115efad735dce24bc25c31dec | |
parent | 21c90d86d27c2143354c7d782050a779b0986eb1 (diff) | |
download | ffmpeg-ee80f834cbb6dbacdc1efb4c658a7d775e82ebff.tar.gz |
asfdec: set nb_streams to 0 in the asf_read_close
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-rw-r--r-- | libavformat/asfdec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c index 6dc34d9735..305c01c62b 100644 --- a/libavformat/asfdec.c +++ b/libavformat/asfdec.c @@ -1457,6 +1457,7 @@ static int asf_read_close(AVFormatContext *s) av_dict_free(&asf->asf_sd[i].asf_met); } + asf->nb_streams = 0; return 0; } |