Fix audio analyis hang with duplicate stream IDs (#598).
authorCarl Hetherington <cth@carlh.net>
Thu, 11 Jun 2015 08:39:15 +0000 (09:39 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 11 Jun 2015 08:39:15 +0000 (09:39 +0100)
commitab355641dd29d54f612e6f890ee8f2ae7578d617
treeb6e07513cc41374a49db0805ee4bf9395a3834bd
parentffb11106766b462f10bd832c26c2d84ea2d980b6
Fix audio analyis hang with duplicate stream IDs (#598).

There was existing code to work around the case when FFmpeg files
have all-zero stream IDs.  Extend this to cope with duplicate
stream IDs, as these have been seen in the wild.
src/lib/ffmpeg.cc