1 Jun
2010
1 Jun
'10
7:49 p.m.
Author: michael Date: Tue Jun 1 21:49:21 2010 New Revision: 23413 Log: Print an error when MAX_STREAMS is reached. Modified: trunk/libavformat/utils.c Modified: trunk/libavformat/utils.c ============================================================================== --- trunk/libavformat/utils.c Tue Jun 1 19:21:16 2010 (r23412) +++ trunk/libavformat/utils.c Tue Jun 1 21:49:21 2010 (r23413) @@ -2467,8 +2467,10 @@ AVStream *av_new_stream(AVFormatContext AVStream *st; int i; - if (s->nb_streams >= MAX_STREAMS) + if (s->nb_streams >= MAX_STREAMS){ + av_log(s, AV_LOG_ERROR, "Too many streams\n"); return NULL; + } st = av_mallocz(sizeof(AVStream)); if (!st)
6008
Age (days ago)
6008
Last active (days ago)
0 comments
1 participants
participants (1)
-
subversion@mplayerhq.hu