vp56: alpha_offset is uninitialized on purpose
authorAurelien Jacobs <aurel@gnuage.org>
Mon, 9 Feb 2009 22:45:30 +0000 (22:45 +0000)
committerAurelien Jacobs <aurel@gnuage.org>
Mon, 9 Feb 2009 22:45:30 +0000 (22:45 +0000)
Originally committed as revision 17108 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/vp56.c

index c436fe5..ad11b52 100644 (file)
@@ -500,7 +500,7 @@ int vp56_decode_frame(AVCodecContext *avctx, void *data, int *data_size,
     VP56Context *s = avctx->priv_data;
     AVFrame *const p = s->framep[VP56_FRAME_CURRENT];
     int remaining_buf_size = buf_size;
-    int is_alpha, alpha_offset;
+    int is_alpha, av_uninit(alpha_offset);
 
     if (s->has_alpha) {
         alpha_offset = bytestream_get_be24(&buf);