rmdec: don't ignore the return value of av_get_packet()