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

diego subversion
Wed Jan 7 02:58:05 CET 2009


Author: diego
Date: Wed Jan  7 02:58:04 2009
New Revision: 16462

Log:
Disable SVQ3 checks if SVQ3 support is not compiled in.

Modified:
   trunk/libavcodec/h264.c

Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c	Wed Jan  7 02:42:00 2009	(r16461)
+++ trunk/libavcodec/h264.c	Wed Jan  7 02:58:04 2009	(r16462)
@@ -2414,7 +2414,8 @@ static av_always_inline void hl_decode_m
     int i;
     int *block_offset = &h->block_offset[0];
     const int transform_bypass = !simple && (s->qscale == 0 && h->sps.transform_bypass);
-    const int is_h264 = simple || s->codec_id == CODEC_ID_H264;
+    /* is_h264 should always be true if SVQ3 is disabled. */
+    const int is_h264 = !ENABLE_SVQ3_DECODER || simple || s->codec_id == CODEC_ID_H264;
     void (*idct_add)(uint8_t *dst, DCTELEM *block, int stride);
     void (*idct_dc_add)(uint8_t *dst, DCTELEM *block, int stride);
 




More information about the ffmpeg-cvslog mailing list