summaryrefslogtreecommitdiff
path: root/libavformat/rawdec.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-06-03 13:40:54 +0200
committerAnton Khirnov <anton@khirnov.net>2011-06-03 13:51:43 +0200
commit1f94c31f69e6eb7eee80d0a3b42875261a18dcbe (patch)
tree9132497f173e78829795456f70752d29a2683279 /libavformat/rawdec.c
parentc1dfb72d3563b0e3b7079c9be2d402ab0e48d3f2 (diff)
rawdec: initialize return value to 0.
Diffstat (limited to 'libavformat/rawdec.c')
-rw-r--r--libavformat/rawdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rawdec.c b/libavformat/rawdec.c
index 87583e1cd9..3d8125f42c 100644
--- a/libavformat/rawdec.c
+++ b/libavformat/rawdec.c
@@ -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)