ffmpeg: Fix crash on some media files
Return code EAGAIN expects the user to feed more packets into the decoder. See https://www.ffmpeg.org/doxygen/trunk/group__lavc__decoding.html#ga11e6542c4e66d3028668788a1a74217c for the FFmpeg documentation as a reference - describing this behaviour.
Edited by Stephan Vedder