From 8bb8f41375ac9a00de22b875e867a3a30904c2a9 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 17 Mar 2005 21:38:29 +0000 Subject: [PATCH] initalize has_b_frames Originally committed as revision 4054 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/nut.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/nut.c b/libavformat/nut.c index 645ca5986c..3a83d4f6b3 100644 --- a/libavformat/nut.c +++ b/libavformat/nut.c @@ -980,6 +980,7 @@ static int decode_stream_header(NUTContext *nut){ nom = get_v(bc); denom = get_v(bc); nut->stream[stream_id].msb_timestamp_shift = get_v(bc); + st->codec.has_b_frames= nut->stream[stream_id].decode_delay= get_v(bc); get_byte(bc); /* flags */