19 Aug
2009
19 Aug
'09
1:23 a.m.
MAX_STREAMS is small enough that it doesn't matter --- libavformat/asfdec.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c index 0995b5a..5d90f45 100644 --- a/libavformat/asfdec.c +++ b/libavformat/asfdec.c @@ -994,7 +994,7 @@ static int64_t asf_read_pts(AVFormatContext *s, int stream_index, int64_t *ppos, int64_t pts; int64_t pos= *ppos; int i; - int64_t start_pos[s->nb_streams]; + int64_t start_pos[MAX_STREAMS]; for(i=0; i<s->nb_streams; i++){ start_pos[i]= pos; -- 1.6.4