mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-02 22:17:01 +08:00
rawdec: initialize return value to 0.
This commit is contained in:
@ -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)
|
||||||
|
Reference in New Issue
Block a user