Browse Source

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

Originally committed as revision 10193 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Luca Abeni 18 years ago
parent
commit
e02f7490da
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/cavsdec.c

+ 1
- 1
libavcodec/cavsdec.c View File

@@ -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;



Loading…
Cancel
Save