OSDN Git Service

nsv: Fix misdetection of MP3 files as NSV.
authorThierry Foucu <tfoucu@gmail.com>
Thu, 12 May 2011 04:27:04 +0000 (21:27 -0700)
committerDiego Biurrun <diego@biurrun.de>
Thu, 12 May 2011 09:32:39 +0000 (11:32 +0200)
commit45faf7fcd335b91e41b0e3ba4e397a9640d8c694
tree8edd85712a99f4795c2a7bd18decae5a18b54fb4
parentb3bbc6fdc588ff03d9d1d2f17ef6608cf1cfff90
nsv: Fix misdetection of MP3 files as NSV.

If an MP3 file contains the string NSVs, the NSV probe will confuse it for an
NSV file. Check for 0xBEEF after a Video/Audio chunk to achieve more accuracy.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
libavformat/nsvdec.c