OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
671adb1
)
return right format in set_codec_from_probe_data
author
Benoit Fouet
<benoit.fouet@free.fr>
Wed, 2 May 2007 09:18:41 +0000
(09:18 +0000)
committer
Benoit Fouet
<benoit.fouet@free.fr>
Wed, 2 May 2007 09:18:41 +0000
(09:18 +0000)
Originally committed as revision 8867 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/utils.c
patch
|
blob
|
history
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;
}
- return fmt;
+ return
!!
fmt;
}
/* absolute maximum size we read until we abort */