has_decode_delay_been_guessed: adjust value for has_b_frames=0
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 4 Aug 2012 13:36:51 +0000 (15:36 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 4 Aug 2012 13:42:44 +0000 (15:42 +0200)
needed for a mkv file

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/utils.c

index 86e5408..4926b57 100644 (file)
@@ -910,7 +910,7 @@ static int has_decode_delay_been_guessed(AVStream *st)
         return 1;
 #endif
     if(st->codec->has_b_frames<3)
-        return st->info->nb_decoded_frames >= 6;
+        return st->info->nb_decoded_frames >= 7;
     else if(st->codec->has_b_frames<4)
         return st->info->nb_decoded_frames >= 18;
     else