r25240 - trunk/libavformat/mov.c
28 Sep
2010
28 Sep
'10
4:33 a.m.
Author: bcoudurier Date: Tue Sep 28 02:33:21 2010 New Revision: 25240 Log: In mov demuxer, check that nb_streams is valid before using it in read_dac3 Modified: trunk/libavformat/mov.c Modified: trunk/libavformat/mov.c ============================================================================== --- trunk/libavformat/mov.c Tue Sep 28 00:17:58 2010 (r25239) +++ trunk/libavformat/mov.c Tue Sep 28 02:33:21 2010 (r25240) @@ -567,6 +567,8 @@ static int mov_read_dac3(MOVContext *c, AVStream *st; int ac3info, acmod, lfeon; + if (c->fc->nb_streams < 1) + return 0; st = c->fc->streams[c->fc->nb_streams-1]; ac3info = get_be24(pb);
5885
Age (days ago)
5885
Last active (days ago)
0 comments
1 participants
participants (1)
-
subversion@mplayerhq.hu