rtpdec: Check the return value from av_new_packet