eamad: use the bytestream2 API instead of AV_RL
authorAnton Khirnov <anton@khirnov.net>
Sun, 20 Jul 2014 12:06:47 +0000 (12:06 +0000)
committerReinhard Tartler <siretart@tauware.de>
Sun, 27 Jul 2014 13:59:01 +0000 (09:59 -0400)
commitf9204ec56a4cf73843d1e5b8563d3584c2c05b47
tree7ed832e24eca3c9b741ad5a01eb20e66ab104563
parent68fd80ee1ca22c39b6ef4e6641b5b2e0d4d89a14
eamad: use the bytestream2 API instead of AV_RL

This is safer and possibly fixes invalid reads on truncated data.
(cherry-picked from commit 541427ab4d5b4b6f5a90a687a06decdb78e7bc3c)

CC:libav-stable@libav.org

Conflicts:
libavcodec/eamad.c
libavcodec/eamad.c