rtmp: Unbreak get_packet