Commit f0cef96c authored by benoit's avatar benoit

return right format in set_codec_from_probe_data



git-svn-id: file:///var/local/repositories/ffmpeg/trunk@8867 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 2e36537e
...@@ -1684,7 +1684,7 @@ static int set_codec_from_probe_data(AVStream *st, AVProbeData *pd, int score) ...@@ -1684,7 +1684,7 @@ static int set_codec_from_probe_data(AVStream *st, AVProbeData *pd, int score)
else if (strncmp(fmt->name, "ac3", 3) == 0) else if (strncmp(fmt->name, "ac3", 3) == 0)
st->codec->codec_id = CODEC_ID_AC3; st->codec->codec_id = CODEC_ID_AC3;
} }
return fmt; return !!fmt;
} }
/* absolute maximum size we read until we abort */ /* absolute maximum size we read until we abort */
......
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