changeset 5405:f15e5b4909e1 libavcodec

remove "Advanced Prediction Mode not supported" spam
author michael
date Thu, 26 Jul 2007 15:47:43 +0000
parents 842d88e745ab
children 9d95fa2bd150
files h263.c
diffstat 1 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/h263.c	Thu Jul 26 15:46:43 2007 +0000
+++ b/h263.c	Thu Jul 26 15:47:43 2007 +0000
@@ -6124,11 +6124,7 @@
         av_log(s->avctx, AV_LOG_ERROR, "SAC not supported\n");
         return -1;      /* SAC: off */
     }
-    if (get_bits1(&s->gb) != 0) {
-        s->obmc= 1;
-        av_log(s->avctx, AV_LOG_ERROR, "Advanced Prediction Mode not supported\n");
-//        return -1;      /* advanced prediction mode: off */
-    }
+    s->obmc= get_bits1(&s->gb);
     if (get_bits1(&s->gb) != 0) {
         av_log(s->avctx, AV_LOG_ERROR, "PB frame mode no supported\n");
         return -1;      /* PB frame mode */