Remove useless setting of pkt->size, av_get_packet already handles that.