aacdec: Don't count probed ADTS frames if there are false positives
authorMartin Storsjö <martin@martin.st>
Tue, 11 Mar 2014 13:42:44 +0000 (15:42 +0200)
committerMartin Storsjö <martin@martin.st>
Sun, 16 Mar 2014 18:58:41 +0000 (20:58 +0200)
commit0412cb67cda05b08dfca6bfc4ff664ea917fa932
tree251cdf06664ce141c464cc982bddf647028c5229
parenta84c8af042f3b42f23cdcc51c34155647270d689
aacdec: Don't count probed ADTS frames if there are false positives

If a portion of the probe buffer seem to resemble ADTS frames,
but some data at the end is a mismatch, disregard the whole
probing attempt. If it actually is ADTS data, there shouldn't be
any mismatches within the sequential frame data.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/aacdec.c