Commit 1f94c31f authored by Anton Khirnov's avatar Anton Khirnov

rawdec: initialize return value to 0.

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