avoid warning
authorFabrice Bellard <fabrice@bellard.org>
Sun, 24 Aug 2003 22:15:37 +0000 (22:15 +0000)
committerFabrice Bellard <fabrice@bellard.org>
Sun, 24 Aug 2003 22:15:37 +0000 (22:15 +0000)
Originally committed as revision 2160 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/error_resilience.c

index b13eea2..5ac2190 100644 (file)
@@ -991,7 +991,9 @@ void ff_er_frame_end(MpegEncContext *s){
         v_block_filter(s, s->current_picture.data[2], s->mb_width  , s->mb_height  , s->uvlinesize, 0);
     }
 
+#ifdef HAVE_XVMC
 ec_clean:
+#endif
     /* clean a few tables */
     for(i=0; i<s->mb_num; i++){
         const int mb_xy= s->mb_index2xy[i];