Commit e02f7490 authored by Luca Abeni's avatar Luca Abeni

Initialize the "stc" variable before using it in ff_find_start_code()

Originally committed as revision 10193 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 2b71ddd9
......@@ -621,7 +621,7 @@ static int cavs_decode_frame(AVCodecContext * avctx,void *data, int *data_size,
const uint8_t *buf_end;
const uint8_t *buf_ptr;
AVFrame *picture = data;
uint32_t stc;
uint32_t stc = -1;
s->avctx = avctx;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment