Skip to content
Snippets Groups Projects
Commit 9859f54d authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

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

parent b98510de
No related branches found
No related tags found
No related merge requests found
...@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment