OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff1d81b
)
avformat/segafilm: check 2nd tag
author
Michael Niedermayer
<michaelni@gmx.at>
Wed, 6 Nov 2013 11:56:42 +0000
(12:56 +0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 6 Nov 2013 11:56:42 +0000
(12:56 +0100)
Fixes probetest failure
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/segafilm.c
patch
|
blob
|
history
diff --git
a/libavformat/segafilm.c
b/libavformat/segafilm.c
index
a56568c
..
8a0e8bc
100644
(file)
--- a/
libavformat/segafilm.c
+++ b/
libavformat/segafilm.c
@@
-69,6
+69,9
@@
static int film_probe(AVProbeData *p)
if (AV_RB32(&p->buf[0]) != FILM_TAG)
return 0;
+ if (AV_RB32(&p->buf[16]) != FDSC_TAG)
+ return 0;
+
return AVPROBE_SCORE_MAX;
}