Commit 9859f54d authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/ffmdec: Silence "may be used uninitialized in this function" warnings

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent b98510de
...@@ -280,10 +280,10 @@ static int ffm_append_recommended_configuration(AVStream *st, char **conf) ...@@ -280,10 +280,10 @@ static int ffm_append_recommended_configuration(AVStream *st, char **conf)
static int ffm2_read_header(AVFormatContext *s) static int ffm2_read_header(AVFormatContext *s)
{ {
FFMContext *ffm = s->priv_data; FFMContext *ffm = s->priv_data;
AVStream *st; AVStream *st = NULL;
AVIOContext *pb = s->pb; AVIOContext *pb = s->pb;
AVCodecContext *dummy_codec = NULL; AVCodecContext *dummy_codec = NULL;
AVCodecParameters *codecpar; AVCodecParameters *codecpar = NULL;
const AVCodecDescriptor *codec_desc; const AVCodecDescriptor *codec_desc;
int ret; int ret;
int f_main = 0, f_cprv = -1, f_stvi = -1, f_stau = -1; int f_main = 0, f_cprv = -1, f_stvi = -1, f_stau = -1;
......
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