projects
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1dfb72
)
rawdec: initialize return value to 0.
author
Anton Khirnov
<anton@khirnov.net>
Fri, 3 Jun 2011 11:40:54 +0000
(13:40 +0200)
committer
Anton Khirnov
<anton@khirnov.net>
Fri, 3 Jun 2011 11:51:43 +0000
(13:51 +0200)
libavformat/rawdec.c
patch
|
blob
|
blame
|
history
diff --git
a/libavformat/rawdec.c
b/libavformat/rawdec.c
index
87583e1
..
3d8125f
100644
(file)
--- 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)