From 02c28fe629ce723d301335ffbc8ab0ff91993bf9 Mon Sep 17 00:00:00 2001
From: Fabrice Bellard <fabrice@bellard.org>
Date: Sun, 24 Aug 2003 22:15:37 +0000
Subject: [PATCH] avoid warning

Originally committed as revision 2160 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavcodec/error_resilience.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavcodec/error_resilience.c b/libavcodec/error_resilience.c
index b13eea2f70a..5ac2190b38a 100644
--- a/libavcodec/error_resilience.c
+++ b/libavcodec/error_resilience.c
@@ -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];
-- 
GitLab