[FFmpeg-cvslog] r13542 - trunk/libavcodec/h264.c

cehoyos subversion
Fri May 30 01:16:12 CEST 2008


Author: cehoyos
Date: Fri May 30 01:16:12 2008
New Revision: 13542

Log:
Warn about unimplemented H264 feature.

Modified:
   trunk/libavcodec/h264.c

Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c	(original)
+++ trunk/libavcodec/h264.c	Fri May 30 01:16:12 2008
@@ -4112,6 +4112,8 @@ static int decode_slice_header(H264Conte
     if(h->slice_type == FF_P_TYPE || h->slice_type == FF_SP_TYPE || h->slice_type == FF_B_TYPE){
         if(h->slice_type == FF_B_TYPE){
             h->direct_spatial_mv_pred= get_bits1(&s->gb);
+            if(FIELD_PICTURE && h->direct_spatial_mv_pred)
+                av_log(h->s.avctx, AV_LOG_ERROR, "PAFF + spatial direct mode is not implemented\n");
         }
         num_ref_idx_active_override_flag= get_bits1(&s->gb);
 




More information about the ffmpeg-cvslog mailing list