projects
/
libav.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
return right format in set_codec_from_probe_data
[libav.git]
/
libavformat
/
utils.c
diff --git
a/libavformat/utils.c
b/libavformat/utils.c
index
a4a78ba
..
f022ebf
100644
(file)
--- 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;
}
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 */
}
/* absolute maximum size we read until we abort */