[FFmpeg-cvslog] dvbsubdec: Fix "set but not used" warning

Michael Niedermayer git at videolan.org
Fri Mar 30 20:39:00 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Mar 30 19:59:48 2012 +0200| [90f9b063862f51c7e192da786ad88e9b1287978c] | committer: Michael Niedermayer

dvbsubdec: Fix "set but not used" warning

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=90f9b063862f51c7e192da786ad88e9b1287978c
---

 libavcodec/dvbsubdec.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/dvbsubdec.c b/libavcodec/dvbsubdec.c
index 6105aa3..66e7b48 100644
--- a/libavcodec/dvbsubdec.c
+++ b/libavcodec/dvbsubdec.c
@@ -1031,7 +1031,7 @@ static void dvbsub_parse_region_segment(AVCodecContext *avctx,
 
     const uint8_t *buf_end = buf + buf_size;
     int region_id, object_id;
-    int version;
+    int av_unused version;
     DVBSubRegion *region;
     DVBSubObject *object;
     DVBSubObjectDisplay *display;



More information about the ffmpeg-cvslog mailing list