electronicarts: do not fail on zero-sized chunks
authorAnton Khirnov <anton@khirnov.net>
Wed, 20 Aug 2014 05:40:53 +0000 (05:40 +0000)
committerAnton Khirnov <anton@khirnov.net>
Fri, 22 Aug 2014 11:25:40 +0000 (11:25 +0000)
commit7dfccac20c0c539e139bd9f75101f72ed4f2736c
treef3cc76885d41385d336de4390907a6e0291f7960
parent04361427e65a687469a3bb0859971292d2dc11e4
electronicarts: do not fail on zero-sized chunks

At least one FATE sample contains such chunks and happens to work simply
by accident (due to find_stream_info() swallowing the error).

CC: libav-stable@libav.org
(cherry picked from commit 4d6c5152849e23a4cc0f6a6ac2880c01ebcd301b)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavformat/electronicarts.c