diff options
author | Luca Abeni <lucabe72@email.it> | 2007-08-23 07:02:27 +0000 |
---|---|---|
committer | Luca Abeni <lucabe72@email.it> | 2007-08-23 07:02:27 +0000 |
commit | e02f7490da1ce126c679e513791071e56617b69a (patch) | |
tree | 3807e8719ca026e782c6e72f4e71d01dcd76b2c9 | |
parent | 2b71ddd96ec0e0b9e0f799b06ba61108cade1af3 (diff) | |
download | ffmpeg-e02f7490da1ce126c679e513791071e56617b69a.tar.gz |
Initialize the "stc" variable before using it in ff_find_start_code()
Originally committed as revision 10193 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/cavsdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/cavsdec.c b/libavcodec/cavsdec.c index 3dc53dd96b..a9e4cc2b8d 100644 --- a/libavcodec/cavsdec.c +++ b/libavcodec/cavsdec.c @@ -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; |