asfdec: set nb_streams to 0 in the asf_read_close

Signed-off-by: Anton Khirnov <anton@khirnov.net>
pull/140/head
Alexandra Hájková 9 years ago committed by Anton Khirnov
parent 21c90d86d2
commit ee80f834cb
  1. 1
      libavformat/asfdec.c

@ -1457,6 +1457,7 @@ static int asf_read_close(AVFormatContext *s)
av_dict_free(&asf->asf_sd[i].asf_met); av_dict_free(&asf->asf_sd[i].asf_met);
} }
asf->nb_streams = 0;
return 0; return 0;
} }

Loading…
Cancel
Save