[FFmpeg-cvslog] avformat/segafilm: check 2nd tag

Michael Niedermayer git at videolan.org
Wed Nov 6 13:04:44 CET 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Nov  6 12:56:42 2013 +0100| [3e6b7bbce510c53b4d7962f29aaf745c9b729775] | committer: Michael Niedermayer

avformat/segafilm: check 2nd tag

Fixes probetest failure

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3e6b7bbce510c53b4d7962f29aaf745c9b729775
---

 libavformat/segafilm.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/libavformat/segafilm.c b/libavformat/segafilm.c
index a56568c..8a0e8bc 100644
--- 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;
 }
 



More information about the ffmpeg-cvslog mailing list