lavf/ffmdec: return proper error code in ffm2_read_header()
authorStefano Sabatini <stefasab@gmail.com>
Mon, 1 Sep 2014 12:04:54 +0000 (14:04 +0200)
committerStefano Sabatini <stefasab@gmail.com>
Fri, 5 Sep 2014 09:20:07 +0000 (11:20 +0200)
commit6f0fc1a96bd436a619de4c9ed33dec8db6d97c52
tree0f8aa6c90cd853af11f291b7df3a286c4165cba8
parent39b517fac0b6d1412b94f30d7be4ec1de65e473a
lavf/ffmdec: return proper error code in ffm2_read_header()

Also log an error message in case of invalid packet size.
libavformat/ffmdec.c