Commit ccba9535 authored by Michael Niedermayer's avatar Michael Niedermayer

av_find_stream_info: initialize ret

This should fix hypothetical corner cases where it might have never been initialized before use
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 2492f777
......@@ -2621,7 +2621,7 @@ int av_find_stream_info(AVFormatContext *ic)
int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options)
{
int i, count, ret, j;
int i, count, ret = 0, j;
int64_t read_size;
AVStream *st;
AVPacket pkt1, *pkt;
......
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