Module: libav Branch: master Commit: ee80f834cbb6dbacdc1efb4c658a7d775e82ebff
Author: Alexandra Hájková <[email protected]> Committer: Anton Khirnov <[email protected]> Date: Wed Jul 22 21:38:15 2015 +0200 asfdec: set nb_streams to 0 in the asf_read_close Signed-off-by: Anton Khirnov <[email protected]> --- libavformat/asfdec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c index 6dc34d9..305c01c 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; } _______________________________________________ libav-commits mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-commits
