changeset 1189:818e75da4edd libavcodec

10l
author michaelni
date Mon, 14 Apr 2003 20:02:12 +0000
parents c5f239397e90
children 60bd91a6e218
files mpegvideo.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mpegvideo.c	Mon Apr 14 14:06:21 2003 +0000
+++ b/mpegvideo.c	Mon Apr 14 20:02:12 2003 +0000
@@ -601,7 +601,7 @@
         return -1;
     }
     
-    if(s->max_b_frames && (s->codec_id != CODEC_ID_MPEG4 || s->codec_id != CODEC_ID_MPEG1VIDEO)){
+    if(s->max_b_frames && s->codec_id != CODEC_ID_MPEG4 && s->codec_id != CODEC_ID_MPEG1VIDEO){
         fprintf(stderr, "b frames not supporetd by codec\n");
         return -1;
     }