changeset 7893:463362e06206 libavcodec

Remove check and error message for "MBAFF + !direct_8x8_inference is not implemented" because this mode does not exist, H.264-2007 says "When frame_mbs_only_flag is equal to 0, direct_8x8_inference_flag shall be equal to 1."
author michael
date Fri, 19 Sep 2008 18:49:17 +0000
parents 59e42f624d4d
children 340c33b1efaa
files h264.c
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/h264.c	Thu Sep 18 16:36:19 2008 +0000
+++ b/h264.c	Fri Sep 19 18:49:17 2008 +0000
@@ -7078,9 +7078,6 @@
     if(sps->mb_aff)
         av_log(h->s.avctx, AV_LOG_ERROR, "MBAFF support not included; enable it at compile-time.\n");
 #endif
-    if(!sps->direct_8x8_inference_flag && sps->mb_aff)
-        av_log(h->s.avctx, AV_LOG_ERROR, "MBAFF + !direct_8x8_inference is not implemented\n");
-
     sps->crop= get_bits1(&s->gb);
     if(sps->crop){
         sps->crop_left  = get_ue_golomb(&s->gb);