rawdec: initialize return value to 0.

This commit is contained in:
Anton Khirnov 2011-06-03 13:40:54 +02:00
parent c1dfb72d35
commit 1f94c31f69

View File

@ -70,7 +70,7 @@ int ff_raw_read_header(AVFormatContext *s, AVFormatParameters *ap)
}
case AVMEDIA_TYPE_VIDEO: {
FFRawVideoDemuxerContext *s1 = s->priv_data;
int width = 0, height = 0, ret;
int width = 0, height = 0, ret = 0;
enum PixelFormat pix_fmt;
if(ap->time_base.num)