diff options
author | Benoit Fouet <benoit.fouet@free.fr> | 2007-05-02 09:18:41 +0000 |
---|---|---|
committer | Benoit Fouet <benoit.fouet@free.fr> | 2007-05-02 09:18:41 +0000 |
commit | efd5fc538e09de5c40db02b3cd4f0509d52bc9c7 (patch) | |
tree | cf8ea218e185c357a22e6ddd1ec67ef15213205b | |
parent | 671adb174250d6b0fc7a562ac810680a6df155e7 (diff) | |
download | ffmpeg-efd5fc538e09de5c40db02b3cd4f0509d52bc9c7.tar.gz |
return right format in set_codec_from_probe_data
Originally committed as revision 8867 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index a4a78ba975..f022ebf098 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -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) st->codec->codec_id = CODEC_ID_AC3; } - return fmt; + return !!fmt; } /* absolute maximum size we read until we abort */ |