Check return value of get_chunk_header(). Since enum can be unsigned, the
authorRonald S. Bultje <rsbultje@gmail.com>
Wed, 29 Sep 2010 15:43:36 +0000 (15:43 +0000)
committerRonald S. Bultje <rsbultje@gmail.com>
Wed, 29 Sep 2010 15:43:36 +0000 (15:43 +0000)
commit3dedbeff7b74d7820b4395c87614edfa8e688fa4
tree4522e09a9880bb6b3b4b1b210f06b4a5d53ab221
parent329d689f7563bd0da3e7fc8493756cb2185ed088
Check return value of get_chunk_header(). Since enum can be unsigned, the
current code wouldn't always error out on errors.

Based on patch by Stephen d'Angelo <sdangelo evertz com>.

Originally committed as revision 25260 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/mmsh.c