[FFmpeg-cvslog] r22612 - trunk/libavcodec/error_resilience.c
aurel
subversion
Sun Mar 21 00:18:07 CET 2010
Author: aurel
Date: Sun Mar 21 00:18:07 2010
New Revision: 22612
Log:
fix compilation with --disable-everything --enable-decoder=mpeg2video
Modified:
trunk/libavcodec/error_resilience.c
Modified: trunk/libavcodec/error_resilience.c
==============================================================================
--- trunk/libavcodec/error_resilience.c Sat Mar 20 22:39:50 2010 (r22611)
+++ trunk/libavcodec/error_resilience.c Sun Mar 21 00:18:07 2010 (r22612)
@@ -43,7 +43,7 @@ static void decode_mb(MpegEncContext *s,
s->dest[1] = s->current_picture.data[1] + (s->mb_y * (16>>s->chroma_y_shift) * s->uvlinesize) + s->mb_x * (16>>s->chroma_x_shift);
s->dest[2] = s->current_picture.data[2] + (s->mb_y * (16>>s->chroma_y_shift) * s->uvlinesize) + s->mb_x * (16>>s->chroma_x_shift);
- if(s->codec_id == CODEC_ID_H264){
+ if(CONFIG_H264_DECODER && s->codec_id == CODEC_ID_H264){
H264Context *h= (void*)s;
h->mb_xy= s->mb_x + s->mb_y*s->mb_stride;
memset(h->non_zero_count_cache, 0, sizeof(h->non_zero_count_cache));
More information about the ffmpeg-cvslog
mailing list